Uploaded image for project: 'Creative Pro by Nuxeo'
  1. Creative Pro by Nuxeo
  2. NBM-383

Remove duplicated pageprovider after 10.2

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 0.2
    • Component/s: Tests
    • Tags:
    • Sprint:
      nxL2IT 0.2-4

      Description

      In com.nuxeo.brand.management.tests.suggesters.TestSuggesters, unit tests should use the page providers defined in the Studio project.

      However the Partial Deploy is failing to deploy those with this adding:

      addTargetExtension("org.nuxeo.ecm.platform.query.api.PageProviderService", "providers");

      Stack trace:

      11:37:10,971 ERROR [ComponentManagerImpl] Failed to load contributions for component service:studio.extensions.nbm-partial
      java.lang.NullPointerException
      	at org.nuxeo.osgi.BundleImpl.loadClass(BundleImpl.java:155)
      	at org.nuxeo.runtime.osgi.OSGiRuntimeContext.loadClass(OSGiRuntimeContext.java:100)
      	at org.nuxeo.runtime.model.impl.XMapContext.loadClass(XMapContext.java:47)
      

      Workaround: duplicated Studio's page provider in test resources.

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved: