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

Error "No metadata set for edition with name 'main'"

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: 4.4.0, 4.3.6
    • Component/s: None
    • Labels:
      None
    • Environment:
      4.4 M3

      Description

      This error has been encountered on ODF, but can be reproduced with exhaustive plugin of template web. 

      (To reproduce it on web template : rename main views of edition type by "default-edition" on parent, child and exhaustive types)
      No metadata set for edition with name 'main' nor fallback metadata set with name 'main' and content type(s) 'org.ametys.plugins.odf.Content.subProgram'java.lang.IllegalArgumentException: No metadata set for edition with name 'main' nor fallback metadata set with name 'main' and content type(s) 'org.ametys.plugins.odf.Content.subProgram'    at org.ametys.cms.contenttype.ContentTypesHelper.getMetadataSetWithFallback(ContentTypesHelper.java:763)
          at org.ametys.cms.content.GetMetadataSetDefAction.content2Json(GetMetadataSetDefAction.java:207)

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                mfranchet Magali Franchet
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated: