[JSONFN-5] Do not print null in the results when expanding collection containing pointer to the node that no longer exists Created: 22/Apr/20 Updated: 22/Apr/20 Resolved: 22/Apr/20 |
|
| Status: | Closed |
| Project: | JSON Templating Functions |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | 1.0.9 |
| Type: | Improvement | Priority: | Neutral |
| Reporter: | Jan Haderka | Assignee: | Jan Haderka |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| 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)
|
| Description |
|
when calling ...expand("categories")... that contain category id that no longer exists, result should not contain null like:
{
"categories": [
{
"displayName": "Example Category",
"@name": "example-category"
},
null
],
"title": "Example Article",
"@name": "example-article"
}
|
| Comments |
| Comment by Jan Haderka [ 22/Apr/20 ] |
|
Done as of 552baa0 on https://github.com/magnolia-community/jsonfn |