[DOCU-617] NodeType Config in Yaml want's a collection of Strings Created: 09/Oct/15  Updated: 30/Sep/19  Resolved: 30/Sep/19

Status: Closed
Project: Documentation
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Bug Priority: Neutral
Reporter: Marvin Kerkhoff Assignee: Unassigned
Resolution: Done Votes: 1
Labels: outdated
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
causality
caused by MAGNOLIA-6364 Map2Bean doesn't fail with wrong gene... Closed
Template:
Patch included:
Yes
Acceptance criteria:
Empty
Bug DoR:
[ ]* Steps to reproduce, expected, and actual results filled
[ ]* Affected version filled
Date of First Response:

 Description   

We saw a issue with the configuration for a action availablity. If you configure it in JCR you discribe a Collection of Hashmaps because in jcr you have always the combination of propertyname and value. But if you export your app configuration into YAML you get also a Collection of Hashmaps. But with YAML the Java only understands a Collection of Strings.
So the Configuration of YAML and JCR is a bit different. It should look like this

nodeTypes:
  - 'mgnl:folder'

instead of this:

nodeTypes:
  - folder: 'mgnl:folder'

Please describe this in the documentation and maybe fix this issue in the YAML Export Action.



 Comments   
Comment by Marvin Kerkhoff [ 09/Oct/15 ]

I saw that you already fixed this issue in MAGNOLIA-6364. But it is not documented.

Comment by Julie Legendre [ 30/Sep/19 ]

In order to better focus our efforts on DOCU tickets that are still relevant and important, all tickets older than 18 months have been labelled as outdated and are being automatically closed.
If you think your ticket is still relevant and should remain open, please add a comment and set it back to open.

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