Uploaded image for project: 'Nuxeo Studio'
  1. Nuxeo Studio
  2. NXS-3657

Fix spurious contribution to old compat theme extension point

    XMLWordPrintable

    Details

      Description

      The jenkins report bundle built at https://qa.nuxeo.org/jenkins/job/master/job/plugins_nuxeo-jenkins-report-master-master/ holds a reference to a compat style configuration:

        <extension target="org.nuxeo.theme.styling.service" point="styles">
          <style name="studio_old_theme_compat">
            <src>themes/css/studio_old_theme_compat.css</src>
          </style>
        </extension>
      

      This holds the configuration:

      .studioButton a {line-height: normal;}
      .printButton .action_bar {margin: 0;}
      

      At startup on 8.10-SNAPSHOT, this produces the following warn (seen in intranet preprod instance):

      ======================================================================
      = Component Loading Errors:
       * Style 'studio_old_theme_compat' on component service:studio.extensions.nuxeo-jenkins-report should now be contributed to extension point 'org.nuxeo.ecm.platform.WebResources': a compatibility registration was performed but it may not be accurate. Note that the 'flavor' processor should be used with this resource.
      ======================================================================
      

      Looking at Studio code, this compat contribution should only be added on an instance using target platform 5.5...

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated: