mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-08-07 17:49:17 +00:00
- Changed generation of unique identifier, no longer appears as a field on the create screens, instead gets generated after the node is persisted, the identifier is then generated using the same algorithm as used for records i.e. year-<pad0><node-dbid>. The idenifier still appears on the edit screen so can be changed if desired.
- Moved the StreamArchive webscript implementation to remote API project so it can be re-used by other non RM webscripts - Added skeleton for transfer REST API git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@15687 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -285,6 +285,10 @@ public class TypeFormProcessor extends ContentModelFormProcessor
|
|||||||
// create the parent NodeRef
|
// create the parent NodeRef
|
||||||
parentRef = new NodeRef((String)destination.getValue());
|
parentRef = new NodeRef((String)destination.getValue());
|
||||||
|
|
||||||
|
// remove the destination data to avoid warning during persistence, this can
|
||||||
|
// always be retrieved by looking up the created node's parent
|
||||||
|
data.removeFieldData(DESTINATION);
|
||||||
|
|
||||||
// TODO: determine what association to use when creating the node in the destination,
|
// TODO: determine what association to use when creating the node in the destination,
|
||||||
// defaults to ContentModel.ASSOC_CONTAINS
|
// defaults to ContentModel.ASSOC_CONTAINS
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user