[MGNLREST-620] Area green bars show edit icons when they should not Created: 26/Jan/23  Updated: 13/Feb/23  Resolved: 30/Jan/23

Status: Closed
Project: Magnolia REST Framework
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Bug Priority: Critical
Reporter: Christopher Zimmermann Assignee: Unassigned
Resolution: Duplicate Votes: 0
Labels: None
Σ Remaining Estimate: Not Specified Remaining Estimate: Not Specified
Σ Time Spent: Not Specified Time Spent: Not Specified
Σ Original Estimate: Not Specified Original Estimate: Not Specified

Issue Links:
duplicate
duplicates PAGES-994 [Norsu] Error happens when edit area ... Closed
Sub-Tasks:
Key
Summary
Type
Status
Assignee
MGNLREST-621 Implementation Sub-task To Do  
MGNLREST-622 Review Sub-task To Do  
MGNLREST-623 Pre-Integration QA Sub-task To Do  
MGNLREST-624 QA Sub-task To Do  
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
Epic Link: SaaS TPR - DevX Bugs
Team: DeveloperX

 Description   

Steps to reproduce

  1. Use hello-saas project on Norsu
  2.  

.. Logs, screenshots, gifs...

Expected results

Area green bars do not show edit icon (unless a dialog has been configured for that area.

Actual results

An edit icon is always rendered.

Clicking on the icon results in an exception.

Workaround

Dont click.

Development notes

 

I’m noticing a discrepency between JCR and Norsu template annotations for the “main” area.

JCR one does not return a dialog property at all,

Norsu one returns one with value of null:`“cms:area content=\“/react-minimal/main\” name=\“main\” availableComponents=\“spa-lm:components/headline,spa-lm:components/image,spa-lm:components/paragraph,spa-lm:components/expander,spa-lm:components/list\”
type=\“list\” dialog=\“null\” label=\“main\” inherit=\“false\” optional=\“false\” createAreaNode=\“true\” showAddButton=\“true\” showNewComponentArea=\“false\” activationStatus=\“2\” “`

ALSO:

The areas are getting labeled incorrectly, It should be "Main Area" but instead is "main".
These are also visible in the templateAnnotations response.
JCR has label=\"Main Area\"

Norsu has label=\"main\" (Incorrectly.)

Please fix the labeling in this ticket if easy - otherwise creaate a new ticket.



 Comments   
Comment by Christopher Zimmermann [ 30/Jan/23 ]

Closing as this appears to duplicate: https://jira.magnolia-cms.com/browse/PAGES-994

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