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

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

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Major Major
    • 4.8.4, 4.7.17, 4.9.0
    • None
    • None
    • None
    • 4.4 M3

      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)

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

              Created:
              Updated: