Uploaded image for project: 'Nuxeo Studio'
  1. Nuxeo Studio
  2. NXS-2589

Corrupt Content View

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Blocker
    • Resolution: Not A Bug
    • Affects Version/s: 23
    • Fix Version/s: None
    • Component/s: Content Views

      Description

      I think I have a corruption being caused by Studio. I have been unable to reproduce this problem in a different Studio project, but it can be reproduced at will using this project:

      https://connect.nuxeo.com/nuxeo/site/studio/ide?project=mastercard-basic-dm-nuxe

      So I've decided to just file a bug using this.

      Note: this has been reproduced on both OS X and Windows on multiple machines and with multiple versions of Nuxeo (7.2 and 7.3).

      Here are the steps to reproduce:

      • Install Nuxeo 7.2.
      • Launch it, proceed through the Wizard and accept all defaults.
      • Register to the project "mastercard-basic-dm".
      • Activate Development Mode.
      • Install nuxeo-virtualnavigation from the Marketplace (the Studio project has a dependency on this and I don't want to modify the project any further).
      • Restart server.
      • Go to the Studio Project.
      • Select Versioning.
      • Select the "beforeModifyDateAgg" tag.
      • Revert to it.
      • Deploy this to your 7.2 server.
      • Access the "Search" tab.

      It should be ok.

      • Go to the Studio project.
      • Open the "AssetSearch" Content View.
      • Delete the Container labeled "Created".
      • Save the changes.
      • Update your server.
      • Access the "Search" tab.

      You should get an exception.

      2015-04-22 16:40:41,584 ERROR [http-bio-0.0.0.0-8080-exec-1] [org.nuxeo.ecm.platform.web.common.exceptionhandling.DefaultNuxeoExceptionHandler] javax.servlet.ServletException: /incl/content_view.xhtml @85,16 value="#{contentView.pageProvider.hasAggregateSupport() ? contentView.pageProvider.aggregates : null}" /incl/content_view.xhtml @85,16 value="#{contentView.pageProvider.hasAggregateSupport() ? contentView.pageProvider.aggregates : null}": Error reading 'aggregates' on type org.nuxeo.elasticsearch.provider.ElasticSearchNxqlPageProvider`
      

      This is only one example of a lot of strangeness that has been happening with this Content View. For example if I add a widget for dc:title, no results are found. I think this Content View has become corrupt somehow via Studio.

      Disclosure: I have experimented with a Generic Search widget using the field /*+ES: OPERATOR(fuzzy) */ dc:title in order to demo some fuzzy searching. This was working fine on Monday, started failing Tuesday and has not worked since. But the point is I have added and removed the widget several times usually using the same name. This may be related?

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: