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

Static filters does not take care about of orphan contents whereas the param to mask orphans is turned to false

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Critical Critical
    • 4.2.0
    • 4.2.0
    • None
    • None

      How to reproduce it :

      • define a static filter with this :
        <filters>
        	<!-- Submit a new project -->
             <filter id="submit-a-new-project" target="content"> 
                <context type="all-sites"/>
                <tags>
                    <tag key="SUBMIT_A_NEW_PROJECT"/>
                </tags>
                 <content-types> 
                     <type id="org.ametys.web.default.Content.article"/> 
                </content-types> 
                 <view>main</view> 
                 <mask-orphan>false</mask-orphan>
             </filter> 
        </filters>
      • create an article tagged SUBMIT_A_NEW_PROJECT,
      • valid the content
      • make this content orphan (delete the content of the page)

      > the content does not appear into the filter until I insert this content into a page.

            Unassigned Unassigned
            llopez Laure Lopez
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: