[MGNLCT-311] 'name' property on Model is not returned as content, only as metadata Created: 09/Nov/22 Updated: 11/Jan/23 Resolved: 11/Jan/23 |
|
| Status: | Closed |
| Project: | Content Types |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Bug | Priority: | Neutral |
| Reporter: | Christopher Zimmermann | Assignee: | Canh Nguyen |
| Resolution: | Obsolete | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||||||||||||||||||
| 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
|
||||||||||||||||||||||||
| Date of First Response: | |||||||||||||||||||||||||
| Epic Link: | SaaS TPR - ContentTypes | ||||||||||||||||||||||||
| Team: | |||||||||||||||||||||||||
| Description |
|
On a norsu contenttype based app, if the model has a property called 'name', the field is displayed as expected in the editor subapp. But the delivery endpoint does not deliver a 'name' property, it only delivers a '@name' property in the '@metadata' node. Expected: name property exists in main content.. On JCR-based contenttype, the rest response includes both a metadata (the jcr @name) and the actual content. Actual: name property does not exist in main content. '@name' property in the '@metadata' node.
Note: On JCR content and delivery endpoint, there is a "name" property and a "@name" metadata property. See comparison here: https://wiki.magnolia-cms.com/display/PMTEAM/Test+Norsu+Contenttype+and+Delivery+endpoint#TestNorsuContenttypeandDeliveryendpoint-CompareNorsuandJCRresponseforContentType
|
| Comments |
| Comment by Christopher Zimmermann [ 28/Nov/22 ] |
|
Waiting for NORSU-827 |
| Comment by Christopher Zimmermann [ 20/Dec/22 ] |
|
Depends upon the result of the Spike which has been agreed upon aafter a number of meetings. See https://jira.magnolia-cms.com/browse/NORSU-907 |