Tags

3 pages

CMS

Hybris CMS issue with pages in multicountry content catalog

Hybris OOTB have a bug in getting PageModel for multicountry content catalog. Issue is located in DefaultCMSPageService.getPageForId(id) method, which executes flexible search query for all session catalogs and returns (AbstractPageModel) pages.iterator().next(). In most cases it will return root global catalog page instead of page from country specific content catalog.