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

Problem on overridden repeaters

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • 4.7.0
    • 4.7.0
    • None
    • None
    • 4.7.0 RC2

      Error occurs on overriden repeaters without type attribute :

      Caused by: java.lang.Exception: Caught an exception trying to initialize the component org.ametys.plugins.myfavorites.Content.myfavorites
          at org.ametys.runtime.plugin.component.ThreadSafeComponentManager.initialize(ThreadSafeComponentManager.java:236)
          at org.ametys.runtime.plugin.component.AbstractThreadSafeComponentExtensionPoint.initializeExtensions(AbstractThreadSafeComponentExtensionPoint.java:96)
          at org.ametys.cms.contenttype.ContentTypeExtensionPoint.initializeExtensions(ContentTypeExtensionPoint.java:121)
          at org.ametys.runtime.plugin.component.PluginsComponentManager$ExtensionPointFactory.newInstance(PluginsComponentManager.java:242)
          at org.ametys.runtime.plugin.component.PluginsComponentManager$ExtensionPointFactory.newInstance(PluginsComponentManager.java:207)
          at org.ametys.runtime.plugin.component.ThreadSafeComponentManager.lookup(ThreadSafeComponentManager.java:162)
          ... 126 more
      Caused by: org.apache.avalon.framework.configuration.ConfigurationException: The type of model item 'link' (repeater) cannot be overridden to: 
          at org.ametys.cms.contenttype.DefaultContentType._checkModelItemsTypeAndCardinality(DefaultContentType.java:538)
          at org.ametys.cms.contenttype.DefaultContentType._getApplicableModelItems(DefaultContentType.java:504)
          at org.ametys.cms.contenttype.DefaultContentType._getApplicableModelItems(DefaultContentType.java:477)
          at org.ametys.cms.contenttype.DefaultContentType._configureModelItems(DefaultContentType.java:449)
          at org.ametys.cms.contenttype.DefaultContentType.configure(DefaultContentType.java:395)
          at org.apache.avalon.framework.container.ContainerUtil.configure(ContainerUtil.java:202)
          at org.ametys.runtime.plugin.component.ThreadSafeComponentManager$ComponentFactory.configureAndStart(ThreadSafeComponentManager.java:383)
          at org.ametys.runtime.plugin.component.ThreadSafeComponentManager$ComponentFactory.newInstance(ThreadSafeComponentManager.java:402)
          at org.ametys.runtime.plugin.component.ThreadSafeComponentManager.initialize(ThreadSafeComponentManager.java:230)
          ... 131 more

            cbayle Caroline Bayle
            dcartier David Cartier-Michaud
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: