Uploaded image for project: 'CMS'
  1. CMS
  2. CMS-10315

Menu to change the form edition mode (linear or tabs) failed if no "default-edition" metadata set is defined

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 4.3.0
    • Component/s: None
    • Labels:
      None
    • Sprint:
      4.3 RC2

      Description

      This gallery does not support the "fallback" metadata set.

      If org.ametys.cms.edition.parameterize.TabPolicyGallery controller is included in edition ribbon tab, and the content to edit has no "default-edition" metadata set, the following error occurred:

      Caused by: java.lang.IllegalArgumentException: Unknown metadata set 'default-edition' of type 'edition' for content type(s) 'content-type.EcoleCommerceGrde,content-type.EcoleCommercePetite'
      	at org.ametys.cms.clientsideelement.FormEditionModeMenu.getStatus(FormEditionModeMenu.java:78)
      	... 93 more
      

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              laurence Laurence Aumeunier
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: