mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-08-07 17:49:17 +00:00
Fix for AWC-1167
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@5413 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -144,14 +144,8 @@ public class LinkPropertiesBean
|
||||
NodeRef nodeRef = this.editableNode.getNodeRef();
|
||||
Map<String, Object> props = this.editableNode.getProperties();
|
||||
|
||||
// get the name and move the node as necessary
|
||||
//String name = (String)props.get(ContentModel.PROP_NAME);
|
||||
//if (name != null)
|
||||
//{
|
||||
// fileFolderService.rename(nodeRef, name);
|
||||
//}
|
||||
|
||||
Map<QName, Serializable> properties = this.nodeService.getProperties(nodeRef);
|
||||
|
||||
// we need to put all the properties from the editable bag back into
|
||||
// the format expected by the repository
|
||||
|
||||
@@ -206,7 +200,10 @@ public class LinkPropertiesBean
|
||||
|
||||
// reset any document held by the browse bean as it's just been updated
|
||||
// if this is a space link then it doesn't matter anyway
|
||||
this.browseBean.getDocument().reset();
|
||||
if (this.browseBean.getDocument() != null)
|
||||
{
|
||||
this.browseBean.getDocument().reset();
|
||||
}
|
||||
}
|
||||
catch (InvalidNodeRefException err)
|
||||
{
|
||||
|
Reference in New Issue
Block a user