Details
-
Bug
-
Resolution: Fixed
-
Medium
-
4.6.x-dev
-
[4.6] - Sprint 18
-
Ibexa Experience
Description
We can configure Dashboard Content Type via SiteAccess-aware dynamic settings.
Current view configuration doesn't use that setting:
ibexa: system: admin_group: content_view: dashboard: dashboard_page: template: '@ibexadesign/dashboard/dashboard_view.html.twig' match: Identifier\ContentType: [ dashboard_landing_page ] IsPreview: false dashboard_preview_page: template: '@ibexadesign/dashboard/dashboard_preview.html.twig' match: Identifier\ContentType: [ dashboard_landing_page ] IsPreview: true
We need to create either new matcher or modify built-in one to respect dynamic settings - for now decided to create new matcher to avoid breaking change so late in the 4.6 development cycle.
Steps to reproduce
1. Change Dashboard content type identifier to something other than `dashboard_landing_page`
2. Reconfigure instance to rely on that change
ibexa: system: admin_group: dashboard: content_type_identifier: my_dashboard_content_type_identifier
Actual result
Observe that dashboard is not loaded anymore
Expected result
Dashboard is loaded properly after re-configuring its content type identifier.