[MAGNOLIA-6683] Offer YAML as alternative format for JCR bootstraps beside XML and revise export/import operations Created: 31/May/16 Updated: 22/Aug/22 Resolved: 28/Apr/17 |
|
| Status: | Closed |
| Project: | Magnolia |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | 5.5.4 |
| Type: | Story | Priority: | Neutral |
| Reporter: | Christopher Zimmermann | Assignee: | Roman Kovařík |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Attachments: |
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 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)
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Release notes required: |
Yes
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Documentation update required: |
Yes
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Date of First Response: | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Sprint: | Kromeriz 93 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Story Points: | 13 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Description |
|
Support a simple YAML format for JCR Repository bootstrap files. Support this format wherever the "jcr system view" xml bootstrap files are supported now. Reasons: Rollout: Future steps will be (Probably in next major release 5.6)
Note: |
| Comments |
| Comment by Pierre Sandrin [ 14/Jun/16 ] |
|
I tried to do it with the decorations feature, but i think you can't decorate things in '/modules/ui-admincentral/config'. Right? |
| Comment by Christopher Zimmermann [ 07/Jul/16 ] |
|
Yeah - that won't work. You can only decorate things handled by definition registries - like templates, dialogs, apps. See: |
| Comment by Mikaël Geljić [ 20/Feb/17 ] |
|
Hi there, As you pointed out czimmermann, the JCR System View is hard to work with. May I also remind that JCR specifies the Document View, specifically providing a human-readable serialization. This should be fairly easy to work with, diff/merge. This format is legit bootstrap and works in Magnolia / Jackrabbit out of the box. <?xml version="1.0" encoding="UTF-8"?> <magnolia xmlns:jcr="http://www.jcp.org/jcr/1.0" xmlns:mgnl="http://www.magnolia.info/jcr/mgnl" jcr:primaryType="mgnl:folder"> <mika jcr:primaryType="mgnl:contact" email="test@magnolia-cms.com" firstName="Mikaël" lastName="Geljić" /> <stephen jcr:primaryType="mgnl:contact" email="test3@magnolia-cms.com" firstName="Stephen" lastName="Nguyen" /> ... </magnolia> |
| Comment by Ilgun Ilgun [ 17/Mar/17 ] |
|
I have attached a document view xml file called 'tours.magnolia-travels.Vietnam--Tradition-and-Today-document-view-with-multi-values.xml'. |
| Comment by Roman Kovařík [ 17/Mar/17 ] |
|
ilgun could you please attach an export without filtered jcr/mgnl properties and export of an asset? We might want to filter some properties (this could be configurable) but you usually need at least the UUID which is used to create links to a content. |
| Comment by Antti Hietala [ 20/Mar/17 ] |
|
Attached website.sportstation.xml |
| Comment by Christopher Zimmermann [ 23/Mar/17 ] |
|
PM recommendation. YAML instead of JCR document view. https://wiki.magnolia-cms.com/display/PMTEAM/Bootstraps+-+YAML+vs+XML+Document+View |
| Comment by Christopher Zimmermann [ 23/Mar/17 ] |
|
avongunten UX recommendation request for |
| Comment by Roman Kovařík [ 11/Apr/17 ] |
|
Reopened: YAML bootstrap files are filtered because of the extension |
| Comment by Roman Kovařík [ 24/Apr/17 ] |
|
For the release notes:
|
| Comment by Antonín Juran [ 24/Apr/17 ] |
|
Exception is thrown when importing website.travel.yaml: at info.magnolia.ui.dialog.action.SaveImportDialogAction.executeCommand(SaveImportDialogAction.java:176) |