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

Theme hot-reload issue

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Critical
    • Resolution: Won't Fix
    • Affects Version/s: 5.6-SNAPSHOT
    • Fix Version/s: None
    • Component/s: Themes (deprecated)

      Description

      When contributing from IDE a new page/theme binding like :

      <extension target="org.nuxeo.theme.services.ThemeService" point="applications">
          <application root="${org.nuxeo.ecm.contextPath}" template-engine="jsf-facelets">
       
            <view id="/my_document_view.xhtml">
              <theme>galaxy/popup</theme>
            </view>
          </application>
        </extension>
      

      The first reload will work and the correct theme page will be applied.
      But on second reload it will completly break the theme engine and you basicaly end with a broken webapp where all pages end up in error with :

      Could not obtain the negotiation strategy for /nuxeo
      

      thrown by org.nuxeo.theme.jsf.facelets.CompositionHandler.apply line 155

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved: