Uploaded image for project: 'Magnolia'
  1. Magnolia
  2. MAGNOLIA-2454

Move support for properties format from MockUtil to core

    XMLWordPrintable

    Details

    • Type: New Feature
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 4.0
    • Component/s: core
    • Labels:
      None
    • Template:

      Error rendering 'issue-templates-customfield'. Please contact your Jira administrators.

      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.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              gjoseph Magnolia International
              Reporter:
              gjoseph Magnolia International
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: