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

Unable to select a system property of a linked content as search column

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • 4.1.0
    • None
    • None
    • None

      How to reproduce

      • Open Solr tool
      • In columns field enter a metadata of type "CONTENT" following by a coma to get avaialble fields by autocompletion
      • Autocompletion proposed only the metadata of the linked content => it should proposed also the system properties
      • Try to enter manually "linkContent.contentTypes" to get the "content types" system property of the linked content
      • => The search failed
      Caused by: org.apache.avalon.framework.configuration.ConfigurationException: Unknown metadata 'linkArticles/contentTypes' in content type 'org.ametys.test.Content.exhaustif'
      	at org.ametys.cms.search.ui.model.impl.MetadataSearchUIColumn.configure(MetadataSearchUIColumn.java:53)
      	at org.apache.avalon.framework.container.ContainerUtil.configure(ContainerUtil.java:202)
      	at org.ametys.runtime.plugin.component.ThreadSafeComponentManager$ComponentFactory.configureAndStart(ThreadSafeComponentManager.java:359)
      	at org.ametys.runtime.plugin.component.ThreadSafeComponentManager$ComponentFactory.newInstance(ThreadSafeComponentManager.java:378)
      	at org.ametys.runtime.plugin.component.ThreadSafeComponentManager.initialize(ThreadSafeComponentManager.java:206)
      	... 98 more
      

            sprieul Simon Prieul (Inactive)
            laurence Laurence Aumeunier
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: