Uploaded image for project: 'Magnolia REST Framework'
  1. Magnolia REST Framework
  2. MGNLREST-620

Area green bars show edit icons when they should not

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • Critical
    • None
    • None
    • None
    • None

    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.

      Checklists

        Acceptance criteria

        Attachments

          Issue Links

            1.
            Implementation Sub-task To Do Unassigned
            2.
            Review Sub-task To Do Unassigned
            3.
            Pre-Integration QA Sub-task To Do Unassigned
            4.
            QA Sub-task To Do Unassigned

            Activity

              People

                Unassigned Unassigned
                czimmermann Christopher Zimmermann
                DeveloperX
                Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved:

                  Checklists

                    Bug DoR
                    Task DoD