mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-08-07 17:49:17 +00:00
Added module status to module.properties file saved in WAR for later use. Added contribution to return node path in Reference object. Fixed issues with web service caused by outdated Jars and incorrect AuthenticationService
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@4980 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -147,7 +147,7 @@ public class ContentWebService extends AbstractWebService implements
|
||||
|
||||
// Create the content object
|
||||
ContentFormat format = new ContentFormat(contentReader.getMimetype(), contentReader.getEncoding());
|
||||
content = new Content(Utils.convertToReference(nodeRef), property, contentReader.getSize(), format, downloadUrl);
|
||||
content = new Content(Utils.convertToReference(this.nodeService, nodeRef), property, contentReader.getSize(), format, downloadUrl);
|
||||
|
||||
// Debug
|
||||
if (logger.isDebugEnabled())
|
||||
@@ -163,7 +163,7 @@ public class ContentWebService extends AbstractWebService implements
|
||||
else
|
||||
{
|
||||
// Create an empty content object
|
||||
content = new Content(Utils.convertToReference(nodeRef), property, 0, null, null);
|
||||
content = new Content(Utils.convertToReference(this.nodeService, nodeRef), property, 0, null, null);
|
||||
|
||||
// Debug
|
||||
if (logger.isDebugEnabled())
|
||||
|
Reference in New Issue
Block a user