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

Non-default themes are not contributed correctly

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.11
    • Component/s: None
    • Tags:
    • Backlog priority:
      550

      Description

      This issue is caused by a mistake in the handling of flavors names.

      Example : By creating a branding named "Bla-Bla" and not selecting it by default, the flavor name will be formatted as "bla_bla", but it will still be referenced as "Bla-Bla" on the galaxy theme.

      <extension target="org.nuxeo.theme.styling.service" point="flavors">
          <flavor name="bla_bla" extends="default">
            ...
          </flavor>
        </extension>
        <extension target="org.nuxeo.theme.styling.service" point="pages">
          <themePage name="galaxy/default">
            <flavors append="true">
              <flavor>Bla-Bla</flavor>
              ...
            </flavors>
            ...
          </themePage>
        </extension>
      

      In this case, the theme remains unavailable for local configuration.

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved:

                Time Tracking

                Estimated:
                Original Estimate - 2 hours
                2h
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 2 hours
                2h

                  PagerDuty