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

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

      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.

        Acceptance criteria

          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

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

                Created:
                Updated:
                Resolved:

                  Bug DoR
                  Task DoD