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

Theme engine: fix resource dependencies in nxthemes-lib / broken theme editor

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 5.5-SNAPSHOT
    • Fix Version/s: None
    • Component/s: Themes (deprecated)

      Description

      The resource servlet (nxthemes-lib/...) since 5.4.3 tries to resolve resource dependencies on-the-fly but this does not work because the servlet can only serve the same type of resources, for instance if a js resource depends on a .css resource, the css resource must be served on a separate servlet. This is what currently breaks the theme editor.

      It is too late to resolve resource dependencies in nxthemes-lib, which means that resource dependencies must be handled earlier in the resource registration process, this is where the bug is, i.e. some resources are contributed but the dependency graph is not updated correctly.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                jmorliaguet Jean-Marc Orliaguet
                Reporter:
                jmorliaguet Jean-Marc Orliaguet
                Participants:
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: