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

[Search service v2] With language search context, pages without any content cannot be returned

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • 4.2.0
    • 4.2.0
    • Plugin : Search
    • None
    • 4.2 M11

      Need to rethink a little what means a "LanguageSearchContext". It is currently interpreted as the language of the Content, so PageReturnable does join a Page on the ContentLanguageQuery.

      As a result, if 'Any language' is selected in the Search Context for instance, pages without any content (with only a service for instance) cannot be returned !

      => it is a bug !

      PageReturnable should interpret the "LanguageSearchContext" as the language of the page, i.e. the sitemap of the page, so it should create a SitemapQuery in this scenario and not a PageContentQuery of a ContentLanguageQuery

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

              Created:
              Updated:
              Resolved: