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

Fix template contributions retrieval on explorer

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: Postponed
    • Component/s: Explorer, Runtime

      Description

      I thought template contributions placed in the nxserver/config file were not processed by the explorer, but they are (only the ones in templates that are activated).

      Their process is a bit confusing though, as they appear as being contributed from the nuxeo-runtime bundle (because that's the one doing the introspection). Corresponding code in OSGiRuntimeService#loadConfigurationFromProvider holds a TODO "use a OSGi service for this.", maybe we can find a better way to introspect these.

      See sample on the default cluster-config.xml contribution: http://localhost:8080/nuxeo/site/distribution/server-11.1-SNAPSHOT/viewContribution/cluster-config--configuration:

      Also, the explorer defaults on bundle group "org.nuxeo.misc" for bundles who do not reference any bundle group --> see why the following are currently selected.

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated: