Hi all,
my version handler does this:
...
DeltaBuilder deltaTo135 = DeltaBuilder.update("1.3.5", "Website
alignment (/home)");
// website
deltaTo135.addTask(new
BootstrapSingleResource(
"BootstrapSingleResource",
"[website]/home",
"/mgnl-bootstrap/prisma-common/website/website.home.xml")
);
this.register(deltaTo135);
...
The problem is that website.home.xml is an XML export with UUID in it.
When I try to install this module on the same system where I've exported
the data, version upgrada fails, saying
"Could not perform installation: Error importing website.home: a node
with uuid a0071b9c-a514-46c9-b6e5-64091a7c3c17 already exists!"
I saw that BootstrapSingleResource extends BootstrapResourcesTask, wich has
private int importUUIDBehavior =
ImportUUIDBehavior.IMPORT_UUID_COLLISION_THROW;
There is another Task I can use to replace existing nodes with the new
ones? Or simply ignore if exist?
M.
----------------------------------------------------------------
For list details see
http://www.magnolia-cms.com/home/community/mailing-lists.html
To unsubscribe, E-mail to: <[email protected]>
----------------------------------------------------------------