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

When we add demo repository of 4.6 (and 4.5) to initialize a projet data we have an error if we do not have the blog plugin

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Major Major
    • 4.7.0
    • 4.5.0, 4.6.0
    • Démo
    • None

      When I add the demo repo to a project without the blog plugin, there is no site available + when we try to create one we get the following ununderstable issue

      Invalid item containers for creating DefaultModelAwareDataHolder, one of them is null: [null]
      java.lang.NullPointerException: Invalid item containers for creating DefaultModelAwareDataHolder, one of them is null: [null]
          at org.ametys.cms.data.holder.impl.DefaultModelAwareDataHolder._ensureNonNullItemContainers(DefaultModelAwareDataHolder.java:143)
          at org.ametys.cms.data.holder.impl.DefaultModelAwareDataHolder.<init>(DefaultModelAwareDataHolder.java:130)
          at org.ametys.cms.data.holder.impl.DefaultModifiableModelAwareDataHolder.<init>(DefaultModifiableModelAwareDataHolder.java:132)
          at org.ametys.cms.data.holder.impl.DefaultModifiableModelAwareDataHolder.<init>(DefaultModifiableModelAwareDataHolder.java:97)
          at org.ametys.web.repository.site.Site.getDataHolder(Site.java:808)
          at org.ametys.web.repository.site.Site.getDataHolder(Site.java:72)
          at org.ametys.plugins.repository.data.ametysobject.ModelAwareDataAwareAmetysObject.getValue(ModelAwareDataAwareAmetysObject.java:115)
          at org.ametys.plugins.repository.data.holder.ModelAwareDataHolder.getValue(ModelAwareDataHolder.java:199)
          at org.ametys.web.repository.site.Site.getTitle(Site.java:121)
      

            Unassigned Unassigned
            lbouziat Léa Bouziat
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: