Details
-
Bug
-
Resolution: Fixed
-
High
-
5.3.3, 5.4-dev
Description
If you edit any content ( here I used an article ) and preview it, the preview will fallback to legacy design.
Steps to Reproduce
- Edit vendor/ezsystems/demobundle/EzSystems/DemoBundle/Resources/views/full/article.html.twig and change the h1 line
<h1># TWIG: {{ ez_render_field( content, 'title' ) }} #</h1>
- Edit ezpublish_legacy/extension/ezdemo/design/ezdemo/override/templates/full/article.tpl and change the h1 line
<h1># LEGACY: {$node.data_map.title.content|wash()} #</h1>
- Clear the caches
In frontend
- Make sure your frontend is not in legacy_mode.
- Login in frotend
- Create the new "Article #001" article
- Open the published "Article #001"
- Make sure you see "# TWIG:" in the article header
- Edit "Article #001" and preview it
- Confirm now you will see "# LEGACY:" in the article header
Attachments
Issue Links
- is duplicated by
-
EZP-23570 Preview will always use legacy templates for the content area
- Closed