mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-07-24 17:32:48 +00:00
Have a decrepit basic WCM submit workflow working.
Fixed bug in handling requests for AVM Node properties which don't have a dictionary type definition. git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/WCM-DEV2/root@3871 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -837,8 +837,8 @@ public class AVMNodeService extends AbstractNodeServiceImpl implements NodeServi
|
||||
for (QName qName : props.keySet())
|
||||
{
|
||||
PropertyValue value = props.get(qName);
|
||||
PropertyDefinition def = this.dictionaryService.getProperty(qName);
|
||||
result.put(qName, value.getValue(def.getDataType().getName()));
|
||||
PropertyDefinition def = dictionaryService.getProperty(qName);
|
||||
result.put(qName, makeSerializableValue(def, value));
|
||||
}
|
||||
// Now spoof properties that are built in.
|
||||
result.put(ContentModel.PROP_CREATED, new Date(desc.getCreateDate()));
|
||||
@@ -900,7 +900,7 @@ public class AVMNodeService extends AbstractNodeServiceImpl implements NodeServi
|
||||
return null;
|
||||
}
|
||||
PropertyDefinition def = this.dictionaryService.getProperty(qname);
|
||||
return value.getValue(def.getDataType().getName());
|
||||
return makeSerializableValue(def, value);
|
||||
}
|
||||
catch (AVMNotFoundException e)
|
||||
{
|
||||
|
Reference in New Issue
Block a user