[MGNLRESTCL-84] Cannot display content list in detail subapp Created: 21/Oct/19  Updated: 04/Nov/19  Resolved: 04/Nov/19

Status: Closed
Project: REST Client
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Bug Priority: Major
Reporter: Christopher Zimmermann Assignee: Unassigned
Resolution: Duplicate Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Relates
relates to MGNLRESTUI-8 multiField support for REST datasource Closed
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
Release notes required:
Yes
Documentation update required:
Yes
Epic Link: Declarative REST clients

 Description   

In an App detail view it is currently not possible to display a list of content in a multiField. (It might not be possible to show any "complex fields")

I tried to create a multifield following the example in the contactsV8 app. (Line 283) https://git.magnolia-cms.com/projects/MODULES/repos/contacts-app/browse/src/main/resources/contacts/apps/contacts-v8.yaml

For jcr there is:

orderHandler:
  $type: jcrChildNodeOrderHandler

But I could not supply an appropriate "orderHandler" as there is not one for the jsonDatasource.

Also for jcr there is:

itemProvider:
  $type: delegateToSubNodeProvider

 Not sure if there is something for json.

 

For a sample project, you could try this one: 

https://git.magnolia-cms.com/users/czimmermann/repos/restclient-testing/browse/light-modules/rc-transportation-demo/apps/stations.yaml

And uncomment the MULTIFIELD section starting at line 84.

 



 Comments   
Comment by Christopher Zimmermann [ 04/Nov/19 ]

Duplicates: https://jira.magnolia-cms.com/browse/MGNLRESTCL-82

Generated at Mon Feb 12 10:43:03 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.