Richard Unger wrote: > I think you're running into a bug with Jackrabbit. In "system-view" XML > exports, the data-representation is not sufficient - multiple-properties are > not identified as such. This means: if you set up a node with a > multiple-valued property, but only add one value to the property, and then > export as XML, there is nothing to distinguish this property as > multiple-valued. It looks the same in XML as a single-valued property of the > same name. > When the same XML is imported into another Repo, the property is created as > single-valued. Subsequent writes to this property then fail, because the > property is supposed to be multi-valued, but isn't. > > Ugly bug, but not the fault of magnolia. We worked around this by creating a > groovy-skript which iterates over our content, searching for properties that > should be multi-valued but are set up as single-valued, and then deleting and > recreating these properties as multi-valued.
If a Groovy script can fix it, then I guess an update task in Magnolia can as well. Have you reported this as a bug to Magnolia? Any chance you could share your Groovy script? Nils. ------------------------------------------------------------------------ VPRO www.vpro.nl ------------------------------------------------------------------------ ---------------------------------------------------------------- For list details, see http://www.magnolia-cms.com/community/mailing-lists.html Alternatively, use our forums: http://forum.magnolia-cms.com/ To unsubscribe, E-mail to: <[email protected]> ----------------------------------------------------------------
