info.magnolia.rendering.spa.rest.v2.JcrPagesDeliveryEndpoint#createMissingAreaNodes function in should be executed in system context (PAGES-1325)

[PAGES-1329] QA Created: 07/Sep/23  Updated: 13/Sep/23  Resolved: 13/Sep/23

Status: Closed
Project: Magnolia pages module
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Sub-task Priority: Neutral
Reporter: Dai Ha Assignee: Anh Vu
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Attachments: PNG File image-2023-09-13-11-02-33-564.png     PNG File image-2023-09-13-11-03-40-015.png     PNG File image-2023-09-13-11-14-46-751.png     PNG File image-2023-09-13-11-15-32-711.png    
Template:
Date of First Response:
Sprint: DevX 46
Team: DeveloperX

 Comments   
Comment by Anh Vu [ 13/Sep/23 ]

Tested with magnolia-dx-core-demo-webapp-6.2-20230912.073802-95.war


Full response:

{
  "@name": "c1",
  "@path": "/p1/p1_1/c1",
  "@id": "10034202-4864-4fb9-a254-cec52ef7ae5b",
  "@nodeType": "mgnl:page",
  "mgnl:template": "hello-magnolia:pages/hello-child",
  "main": {
    "@name": "main",
    "@path": "/p1/p1_1/c1/main",
    "@id": "89ce269c-91ae-4183-b44c-91ced0a526ff",
    "@nodeType": "mgnl:area",
    "quotation_inherited_depth_4": {
      "@name": "quotation_inherited_depth_4",
      "@path": "/p1/p1_1/main/quotation",
      "@id": "89618823-67c3-4e76-adec-2773f72b3be3",
      "@nodeType": "mgnl:component",
      "quotation": "<p>Carpe diem.</p>",
      "citedPerson": "Horace",
      "mgnl:template": "hello-magnolia:components/quotation",
      "references": [
        "Hesperides1648",
        "Marvell1681",
        "Frost1938"
      ],
      "@nodes": []
    },
    "quotation_inherited_depth_3": {
      "@name": "quotation_inherited_depth_3",
      "@path": "/p1/main/quotation",
      "@id": "50030768-4f8c-42ff-9306-435a0bfcb909",
      "@nodeType": "mgnl:component",
      "quotation": "<p>Carpe diem.</p>",
      "citedPerson": "Horace",
      "mgnl:template": "hello-magnolia:components/quotation",
      "references": [
        "Hesperides1648",
        "Marvell1681",
        "Frost1938"
      ],
      "@nodes": []
    },
    "@nodes": [
      "quotation_inherited_depth_4",
      "quotation_inherited_depth_3"
    ]
  },
  "footer": {
    "@name": "footer",
    "@path": "/p1/p1_1/c1/footer",
    "@id": "e5db88fe-b29d-4327-bc71-c0dca69a37c1",
    "@nodeType": "mgnl:area",
    "footer1": {
      "@name": "footer1",
      "@path": "/p1/p1_1/c1/footer/footer1",
      "@id": "290ade4a-8696-4350-85b3-cdf0f836da70",
      "@nodeType": "mgnl:area",
      "@nodes": []
    },
    "@nodes": [
      "footer1"
    ]
  },
  "@nodes": [
    "main",
    "footer"
  ]
} 
Generated at Mon Feb 12 06:27:13 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.