mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-08-07 17:49:17 +00:00
Removal of google doc now works
- Calling delete on google doc service API now successfully perminantly deletes the corresponding google document - Unit test used to show document deleted git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@20045 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -308,8 +308,8 @@ public class GoogleDocsServiceImpl implements GoogleDocsService, GoogleDocsModel
|
||||
throw new AlfrescoRuntimeException("Unable to find google resource to delete for node " + nodeRef.toString());
|
||||
}
|
||||
|
||||
// Delete the entry
|
||||
entry.delete();
|
||||
// Perminantly delete the entry
|
||||
googleDocumentService.delete(new URL(entry.getEditLink().getHref() + "?delete=true"), entry.getEtag());
|
||||
|
||||
// Remove the aspect from the node
|
||||
nodeService.removeAspect(nodeRef, ASPECT_GOOGLERESOURCE);
|
||||
|
Reference in New Issue
Block a user