[magnolia-dev] [JIRA] (MGNLREST-89) Empty arrays coming through as null in JSON
"JIRA (on behalf of Nickolaus Wing)" <jira-O8DnXSz/[email protected]>
| Newsgroups | gmane.comp.cms.magnolia.devel |
|---|---|
| Message-ID | <[email protected]> |
Nickolaus Wing created an issue
Magnolia REST Framework / https://jira.magnolia-cms.com/browse/MGNLREST-89 MGNLREST-89
Empty arrays coming through as null in JSON
Issue Type:
Bug
Affects Versions:
1.2.1
Assignee:
Unassigned
Created:
11/May/17 1:40 AM
Labels:
apiteam
Priority:
Major
Reporter:
Nickolaus Wing
Related to MGNLREST-83 , another change we noticed after the latest updates is that nodes with no children come through with
{ nodes: null }
instead of
{ nodes: [] }
. This is a change from the previous behavior and can break code that assumes an array in all cases.
https://jira.magnolia-cms.com/browse/MGNLREST-89#add-comment
Add Comment
This message was sent by Atlassian JIRA (v7.2.6#72008-sha1:26175bf)
----------
----------------------------------------------------------------
For list details, see: http://www.magnolia-cms.com/community/mailing-lists.html
Alternatively, use our forums: http://forum.magnolia-cms.com/
To unsubscribe, E-mail to: <[email protected]>
----------------------------------------------------------------
(unnamed)
(image/png, 425 B) - not displayed
(unnamed)
(image/png, 745 B) - not displayed
(unnamed)
(image/png, 1.1 KB) - not displayed
(unnamed)
(image/png, 2.9 KB) - not displayed