-
Bug
-
Resolution: Won't Do
-
Neutral
-
2.0.2
-
-
Empty show more show less
Hi,
Currently, it does not appear that info.magnolia.module.templatingkit.search.SearchResultModel is channel-aware. Therefore, if a particular page is set to exclude a particular output channel (i.e. smartphone), the excluded page will still show up in search results. Additionally, clicking the link will return a 404 error.
Steps to Reproduce:
- Log into the demoauthor site as superuser
- Navigate to website/demo-project/news-events and click Open Page
- Click on the Properties button to open up the Page Properties dialog
- Click on the Output Channels tab, then check the Desktop checkbox to exclude the page from the Desktop channel
- Click the Save button
- Browse to the demo-projects Home page, then click the Preview button, to preview the site in Desktop mode
- Enter news and events in the search field, then click SEARCH
- On the Search Results page, note that the News and Events page is displayed in the results even though the page has been excluded from the desktop channel (see attached screenshot)
- Click on the News and Events link in the Search Results, note that a 404 Error is returned
Please let me know if you have any questions.
Cheers,
Matt
Acceptance criteria