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

Unable to parse global validators in content types when inheriting from another type with include-from-supertype="true"

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Cannot Reproduce
    • Icon: Major Major
    • 4.8.1, 4.7.13, 4.9.0
    • None
    • None
    • 4.8.1

      I suppose it depends on the initialization order ?

      Caused by: java.lang.NullPointerException
              at java.base/java.util.Collections$UnmodifiableCollection.<init>(Collections.java:1030)
              at java.base/java.util.Collections$UnmodifiableList.<init>(Collections.java:1303)
              at java.base/java.util.Collections.unmodifiableList(Collections.java:1290)
              at org.ametys.cms.contenttype.DefaultContentType.getGlobalValidators(DefaultContentType.java:2090)
              at org.ametys.cms.contenttype.DefaultContentType._parseGlobalValidators(DefaultContentType.java:1484)
              at org.ametys.cms.contenttype.DefaultContentType._configureGlobalValidators(DefaultContentType.java:1432)
              at org.ametys.cms.contenttype.DefaultContentType.configure(DefaultContentType.java:419)
      

            tcorre Thalya Corré
            cedric Cédric Damioli
            Thalya Corré Thalya Corré
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: