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

Static filters do not support multi-typed content

    • Icon: Bug Bug
    • Resolution: Invalid
    • Icon: Major Major
    • 4.0RC3
    • 4.0RC1
    • Skins
    • None

      I declare a static content filter like this :

      	<extension point="org.ametys.cms.filter.ContentFilterExtensionPoint"
                     	class="org.ametys.web.filter.StaticWebContentFilter"
                     	id="org.ametys.web.events.RSS">
              		<title i18n="false">Les événements</title>
              		<description i18n="false">Les événements présents dans l'agenda de la page d'accueil</description>
              		<content-types>
      	            	<type id="org.ametys.plugins.news.Content.news"/>
          			</content-types>
                  	         <tags>
      	            	        <tag key="EVENEMENTS"/>
      			</tags>
          			<view>main</view>
          		</extension> 
      

      Then I display the result of this filter here:
      http://.../_plugins/web/www-ville/fr/filter/org.ametys.web.events.RSS/rss.xml

      The multi-typed content (org.ametys.plugins.newssubmission.Content.news-submission and org.ametys.plugins.news.Content.news) are not displayed.

          [CMS-8051] Static filters do not support multi-typed content

          Laurence Perier made changes -
          Status Original: Resolved [ 5 ] New: Closed [ 6 ]
          Laurence Aumeunier made changes -
          Resolution New: Invalid [ 6 ]
          Status Original: Open [ 1 ] New: Resolved [ 5 ]

          Ii works fine. Project issue.

          Laurence Aumeunier added a comment - Ii works fine. Project issue.
          Laurence Aumeunier made changes -
          Fix Version/s New: 4.0RC3 [ 13981 ]
          Laurence Aumeunier made changes -
          Assignee New: Laurence Aumeunier [ laurence ]
          Laurence Perier made changes -
          Description Original: I declare a static content filter like this :
          {noformat}
          <extension point="org.ametys.cms.filter.ContentFilterExtensionPoint"
                          class="org.ametys.web.filter.StaticWebContentFilter"
                          id="org.ametys.web.events.RSS">
                   <title i18n="false">Les événements</title>
                   <description i18n="false">Les événements présents dans l'agenda de la page d'accueil</description>
                   <content-types>
          <type id="org.ametys.plugins.news.Content.news"/>
               </content-types>
                       <tags>
          <tag key="EVENEMENTS"/>
          </tags>
               <view>main</view>
               </extension>
          {noformat}
          New: I declare a static content filter like this :
          {noformat}
          <extension point="org.ametys.cms.filter.ContentFilterExtensionPoint"
                          class="org.ametys.web.filter.StaticWebContentFilter"
                          id="org.ametys.web.events.RSS">
                   <title i18n="false">Les événements</title>
                   <description i18n="false">Les événements présents dans l'agenda de la page d'accueil</description>
                   <content-types>
          <type id="org.ametys.plugins.news.Content.news"/>
               </content-types>
                       <tags>
          <tag key="EVENEMENTS"/>
          </tags>
               <view>main</view>
               </extension>
          {noformat}

          Then I display the result of this filter here:
          http://.../_plugins/web/www-ville/fr/filter/org.ametys.web.events.RSS/rss.xml

          The multi-typed content (org.ametys.plugins.newssubmission.Content.news-submission and org.ametys.plugins.news.Content.news) are not displayed.
          Laurence Perier made changes -
          Description New: I declare a static content filter like this :
          {noformat}
          <extension point="org.ametys.cms.filter.ContentFilterExtensionPoint"
                          class="org.ametys.web.filter.StaticWebContentFilter"
                          id="org.ametys.web.events.RSS">
                   <title i18n="false">Les événements</title>
                   <description i18n="false">Les événements présents dans l'agenda de la page d'accueil</description>
                   <content-types>
          <type id="org.ametys.plugins.news.Content.news"/>
               </content-types>
                       <tags>
          <tag key="EVENEMENTS"/>
          </tags>
               <view>main</view>
               </extension>
          {noformat}
          Laurence Perier created issue -

            laurence Laurence Aumeunier
            lperier Laurence Perier
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: