Uploaded image for project: 'Nuxeo Platform'
  1. Nuxeo Platform
  2. NXP-14538

Fix search on collection in faceted search

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 5.9.4-SNAPSHOT
    • Fix Version/s: 5.9.4
    • Component/s: Collections

      Description

      It is broken since Favorites have been added (NXP-13916).

      Stacktrace when using the collection suggestion widget in faceted-search

      ****** chain ******
      Name: operation
      Exception: OperationException
      Caught error: Failed to invoke operation Document.PageProvider
      Caused by: javax.el.PropertyNotFoundException: Property 'id' not found on type org.nuxeo.ecm.platform.usermanager.NuxeoPrincipalImpl
      ****** Hierarchy calls ******
      	org.nuxeo.ecm.automation.core.operations.services.DocumentPageProviderOperation
      
      	at org.nuxeo.ecm.automation.core.impl.OperationServiceImpl.run(OperationServiceImpl.java:195)
      	at org.nuxeo.ecm.automation.core.impl.OperationServiceImpl.run(OperationServiceImpl.java:104)
      	at org.nuxeo.ecm.automation.seam.operations.RunOperationInSeam.runChain(RunOperationInSeam.java:90)
      	at org.nuxeo.ecm.automation.seam.operations.RunOperationInSeam.run(RunOperationInSeam.java:73)
      	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
      	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      	at java.lang.reflect.Method.invoke(Method.java:606)
      	at org.nuxeo.ecm.automation.core.impl.InvokableMethod.doInvoke(InvokableMethod.java:135)
      	at org.nuxeo.ecm.automation.core.impl.InvokableMethod.invoke(InvokableMethod.java:149)
      	at org.nuxeo.ecm.automation.core.impl.CompiledChainImpl.doInvoke(CompiledChainImpl.java:124)
      	at org.nuxeo.ecm.automation.core.impl.CompiledChainImpl.invoke(CompiledChainImpl.java:110)
      	at org.nuxeo.ecm.automation.core.impl.OperationServiceImpl.run(OperationServiceImpl.java:169)
      	... 86 more
      Caused by: org.nuxeo.ecm.automation.OperationException: Failed to invoke operation Document.PageProvider
      	at org.nuxeo.ecm.automation.core.impl.InvokableMethod.invoke(InvokableMethod.java:157)
      	at org.nuxeo.ecm.automation.core.impl.CompiledChainImpl.doInvoke(CompiledChainImpl.java:124)
      	at org.nuxeo.ecm.automation.core.impl.CompiledChainImpl.invoke(CompiledChainImpl.java:110)
      	at org.nuxeo.ecm.automation.core.impl.OperationServiceImpl.run(OperationServiceImpl.java:169)
      	... 98 more
      Caused by: javax.el.PropertyNotFoundException: Property 'id' not found on type org.nuxeo.ecm.platform.usermanager.NuxeoPrincipalImpl
      	at javax.el.BeanELResolver$BeanProperties.get(BeanELResolver.java:237)
      	at javax.el.BeanELResolver$BeanProperties.access$400(BeanELResolver.java:214)
      	at javax.el.BeanELResolver.property(BeanELResolver.java:325)
      	at javax.el.BeanELResolver.getValue(BeanELResolver.java:85)
      	at javax.el.CompositeELResolver.getValue(CompositeELResolver.java:67)
      	at org.jboss.el.parser.AstPropertySuffix.getValue(AstPropertySuffix.java:53)
      	at org.jboss.el.parser.AstValue.getValue(AstValue.java:67)
      	at org.jboss.el.ValueExpressionImpl.getValue(ValueExpressionImpl.java:186)
      	at org.nuxeo.ecm.automation.core.operations.services.DocumentPageProviderOperation.getParameters(DocumentPageProviderOperation.java:231)
      	at org.nuxeo.ecm.automation.core.operations.services.DocumentPageProviderOperation.run(DocumentPageProviderOperation.java:182)
      	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
      	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      	at java.lang.reflect.Method.invoke(Method.java:606)
      	at org.nuxeo.ecm.automation.core.impl.InvokableMethod.doInvoke(InvokableMethod.java:135)
      	at org.nuxeo.ecm.automation.core.impl.InvokableMethod.invoke(InvokableMethod.java:149)
      	... 101 more
      

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved:

                Time Tracking

                Estimated:
                Original Estimate - 2 hours
                2h
                Remaining:
                Remaining Estimate - 2 hours
                2h
                Logged:
                Time Spent - Not Specified
                Not Specified