[MAGNOLIA-2454] Move support for properties format from MockUtil to core Created: 29/Oct/08 Updated: 23/Jan/13 Resolved: 26/Jan/09 |
|
| Status: | Closed |
| Project: | Magnolia |
| Component/s: | core |
| Affects Version/s: | None |
| Fix Version/s: | 4.0 |
| Type: | New Feature | Priority: | Major |
| Reporter: | Magnolia International | Assignee: | Magnolia International |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||||||||||
| Template: |
|
||||||||||||||||
| Acceptance criteria: |
Empty
|
||||||||||||||||
| Description |
|
In MockUtil, we currently have support for importing/creating nodes using properties, which is very handy for tests, but would actually also be handy for modules which have to maintain a lot of bootstrap files, whose format isn't the most practical to manipulate. DataTransporter.importProperties() already provides a similar functionality, but it doesn't provide support for node type nor property type. The only functionality that will probably have to stay in MockUtil is that, since its using MockContent instance, arbitrary uuid's can be assigned to nodes. We will also have to implement conflict behaviours, probably similar to ImportUUIDBehavior. |
| Comments |
| Comment by Magnolia International [ 29/Oct/08 ] |
|
done on svn - added PropertiesImportExport class in info.magnolia.cms.core.ie package. |
| Comment by Magnolia International [ 29/Oct/08 ] |
|
Also added info.magnolia.module.delta.PropertiesImportTask. |
| Comment by Magnolia International [ 26/Jan/09 ] |
|
done, for further improvements, see |