Uploaded image for project: 'Magnolia pages module'
  1. Magnolia pages module
  2. PAGES-860

Annotations endpoint should return missing templates also

    XMLWordPrintable

Details

    • Improvement
    • Resolution: Unresolved
    • Neutral
    • None
    • None
    • None
    • None

    Description

      This is a follow ticket of PAGES-843.

      Annotation endpoint should also return missing template with error indicate, ex:

      {
      ...
      "/react-sample/main/00": "cms:component content=\"website:/react-sample/main/00\" activationStatus=\"0\" label=\"\" error=\"The template react-lm:components/title is missing\"",
      "/react-sample/main/0/nestedArea": "cms:area content=\"website:/react-sample/main/0/nestedArea\" name=\"nestedArea\" availableComponents=\"\" type=\"list\" label=\"NestedArea\" inherit=\"false\" optional=\"false\" createdAreaNode=\"true\" showAddButton=\"true\" showNewComponentArea=\"true\" activationStatus=\"0\" label=\"nestedArea\" error=\"The template nestedArea is missing\"",
      ...
      } 

       

      Note: Need a design to show in Editor.

      Checklists

        Acceptance criteria

        Attachments

          1. full.png
            full.png
            378 kB
          2. missing-component-with-area.png
            missing-component-with-area.png
            336 kB
          3. missing-templates.png
            missing-templates.png
            127 kB

          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
                plequoc Phong Le Quoc
                DeveloperX
                Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                  Created:
                  Updated:

                  Checklists

                    Task DoD