09-05-2007 11:29 AM
09-11-2007 10:16 AM
11-09-2007 09:36 AM
Index: /Alfresco/projects/repository/source/java/org/alfresco/repo/importer/ImporterComponent.java
===================================================================
— /Alfresco/projects/repository/source/java/org/alfresco/repo/importer/ImporterComponent.java (revision 1242)
+++ /Alfresco/projects/repository/source/java/org/alfresco/repo/importer/ImporterComponent.java (working copy)
@@ -460,7 +460,7 @@
{
if (uuidBinding == null)
{
- return new CreateNewNodeImporterStrategy(true);
+ return new CreateNewNodeImporterStrategy(false);
}
else if (uuidBinding.equals(UUID_BINDING.CREATE_NEW))
{
@@ -488,7 +488,7 @@
}
else
{
- return new CreateNewNodeImporterStrategy(true);
+ return new CreateNewNodeImporterStrategy(false);
}
}
@@ -1256,7 +1256,7 @@
Map<QName, Serializable> initialProperties = bindProperties(node);
// Assign UUID if already specified on imported node
- if (!assignNewUUID && node.getUUID() != null)
+ if (!assignNewUUID || node.getUUID() != null)
{
initialProperties.put(ContentModel.PROP_NODE_UUID, node.getUUID());
}
11-09-2007 11:48 AM
11-09-2007 12:04 PM
11-09-2007 02:14 PM
Specifically, the part where I change the AND to OR is what's untested, simply importing the UUIDs works fine in my custom-generated ACPs.
11-09-2007 04:21 PM
11-21-2007 12:59 PM
Tags
Find what you came for
We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.