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

SearchModel: New content types property keep the first configuration

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Blocker Blocker
    • 4.6.0
    • 4.6.0
    • None
    • None
    • 4.6 M5

      I have several search models in WEB-INF/param/search folder. In each search model, I have a criterion on contentTypes system property. The ContentTypeEnumerator is initialized with the first found search model restrictions (ContentTypeSystemProperty line 308) are reported to the enumerator and the same enumerator is used for all search models.

      So a "contentTypes" criterion in search model could be too restricted or too large (depending of cases).

      You can reproduce the problem on the main search of ODF, all content types are available but we shouldn't have private content types.

            cbayle Caroline Bayle
            bmaurel Bérénice Maurel
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: