chemistry-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mdue...@apache.org
Subject svn commit: r1404176 - /chemistry/opencmis/trunk/chemistry-opencmis-server/chemistry-opencmis-server-jcr/src/main/java/org/apache/chemistry/opencmis/jcr/JcrFolder.java
Date Wed, 31 Oct 2012 14:51:35 GMT
Author: mduerig
Date: Wed Oct 31 14:51:34 2012
New Revision: 1404176

URL: http://svn.apache.org/viewvc?rev=1404176&view=rev
Log:
CMIS-587: Root node children don't have parentId property   
Credits to Ivan Vasyliev for the patch

Modified:
    chemistry/opencmis/trunk/chemistry-opencmis-server/chemistry-opencmis-server-jcr/src/main/java/org/apache/chemistry/opencmis/jcr/JcrFolder.java

Modified: chemistry/opencmis/trunk/chemistry-opencmis-server/chemistry-opencmis-server-jcr/src/main/java/org/apache/chemistry/opencmis/jcr/JcrFolder.java
URL: http://svn.apache.org/viewvc/chemistry/opencmis/trunk/chemistry-opencmis-server/chemistry-opencmis-server-jcr/src/main/java/org/apache/chemistry/opencmis/jcr/JcrFolder.java?rev=1404176&r1=1404175&r2=1404176&view=diff
==============================================================================
--- chemistry/opencmis/trunk/chemistry-opencmis-server/chemistry-opencmis-server-jcr/src/main/java/org/apache/chemistry/opencmis/jcr/JcrFolder.java
(original)
+++ chemistry/opencmis/trunk/chemistry-opencmis-server/chemistry-opencmis-server-jcr/src/main/java/org/apache/chemistry/opencmis/jcr/JcrFolder.java
Wed Oct 31 14:51:34 2012
@@ -212,6 +212,7 @@ public class JcrFolder extends JcrNode {
         // folder properties
         if (pathManager.isRoot(getNode())) {
             objectInfo.setHasParent(false);
+            addPropertyList(properties, typeId, filter, PropertyIds.PARENT_ID, Collections.<String>emptyList());
         }
         else {
             objectInfo.setHasParent(true);



Mime
View raw message