[MTE-113] Texts on pages done with mtk:pages/basic are not rendered Created: 24/Mar/20  Updated: 08/Jun/20  Resolved: 08/Jun/20

Status: Closed
Project: Magnolia Templating Essentials
Component/s: None
Affects Version/s: 1.2.3
Fix Version/s: None

Type: Bug Priority: Neutral
Reporter: Christoph Meier Assignee: Unassigned
Resolution: Outdated Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

6.2 (Snapshot: 2020.03.23 23:01:36)
dx-core (no demo!)


Issue Links:
Relates
relates to MTE-124 Introduce MTK2 with M6 dialogs Closed
relation
is related to MULTISITE-98 Property names should not contain a s... Closed
Template:
Acceptance criteria:
Empty
Task DoD:
[ ]* Doc/release notes changes? Comment present?
[ ]* Downstream builds green?
[ ]* Solution information and context easily available?
[ ]* Tests
[ ]* FixVersion filled and not yet released
[ ]  Architecture Decision Record (ADR)
Bug DoR:
[ ]* Steps to reproduce, expected, and actual results filled
[ ]* Affected version filled
Date of First Response:
Epic Link: UI framework: depending issues

 Description   

Text  of pages created with the template mtk:pages/basic are  not rendered but stored in JCR.

This is true e.g. for

  • abstract (via pageProps) or for
  • components done with text/image in main.

(Images are rendered.)

 The "bug" appears on dx-core without demo only. EDIT: 2020-04-03 now also on dx-core-demo
dx-core-demo (with the demo modules) and ce (with or without demo) do render the texts.

The latest test was run with these 4 webapps originating all from the same build cycle. 

 
ce_NO-demo / 6.2 (Snapshot: 2020.03.25 08:38:19)
result: ✔︎

ce-demo / 6.2 (Snapshot: 2020.03.25 08:38:19)
result: ✔︎

dx-core_NO-demo / 6.2 (Snapshot: 2020.03.24 12:52:01)
result: XXX (fails) 

dx-core-demo / 6.2 (Snapshot: 2020.03.24 12:52:01)
result: ✔︎

Reproduce

Use dx-core without the demo

  • Add new page /foobar with the template basic
    • Add text to the field abstract
  • Add component text/image into component main.
  • Try to see rendered text
  • Publish and check on public too

Note:
Both demo (6.1.x) and 6.2-SNAPSHOT use mtk-1.2.3.
The demo does render the text, the 6.2-SNAPSHOT does not render.
Hence the underyling problem maybe is not in MTK/MTE.

Edit:
Recent test on dx-core-demo_6.2-final shows the same erroneous behaviour.



 Comments   
Comment by Simon Lutz [ 09/Apr/20 ]

I cannot reproduce it on the latest 6.2-SNAPSHOT of dx-core-demo; have not yet checked dx-core w/o demo.

Comment by Christoph Meier [ 14/Apr/20 ]

I can still reproduce it on

  • dx-core without demo on 6.2 final.
  • dx-core without demo on 6.2.1-SNAPSHOT
Comment by Christoph Meier [ 28/Apr/20 ]

Highly likely, the reason that text is not rendered is this:
Attributes are stored with "wrong" i18n suffix.
E.g. we have the property abstract_de_DE instead of abstract_de,

Same as reported in MGNLUI-5827

Comment by Richard Gange [ 08/Jun/20 ]

Seems to be working now. Test on 6.2.1.

Generated at Mon Feb 12 07:41:36 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.