jackrabbit-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mdue...@apache.org
Subject svn commit: r1159708 - /jackrabbit/trunk/jackrabbit-spi-commons/src/main/java/org/apache/jackrabbit/spi/commons/ItemInfoBuilder.java
Date Fri, 19 Aug 2011 17:45:58 GMT
Author: mduerig
Date: Fri Aug 19 17:45:58 2011
New Revision: 1159708

URL: http://svn.apache.org/viewvc?rev=1159708&view=rev
Log:
JCR-3057 ItemInfoBuilder fails to set correct path on properties

Modified:
    jackrabbit/trunk/jackrabbit-spi-commons/src/main/java/org/apache/jackrabbit/spi/commons/ItemInfoBuilder.java

Modified: jackrabbit/trunk/jackrabbit-spi-commons/src/main/java/org/apache/jackrabbit/spi/commons/ItemInfoBuilder.java
URL: http://svn.apache.org/viewvc/jackrabbit/trunk/jackrabbit-spi-commons/src/main/java/org/apache/jackrabbit/spi/commons/ItemInfoBuilder.java?rev=1159708&r1=1159707&r2=1159708&view=diff
==============================================================================
--- jackrabbit/trunk/jackrabbit-spi-commons/src/main/java/org/apache/jackrabbit/spi/commons/ItemInfoBuilder.java
(original)
+++ jackrabbit/trunk/jackrabbit-spi-commons/src/main/java/org/apache/jackrabbit/spi/commons/ItemInfoBuilder.java
Fri Aug 19 17:45:58 2011
@@ -765,7 +765,7 @@ public final class ItemInfoBuilder {
                     String ns = namespace == null ? Name.NS_DEFAULT_URI : namespace;
                     name = NameFactoryImpl.getInstance().create(ns, localName);
                 }
-                Path path = PathFactoryImpl.getInstance().create(parentId.getPath(), name,
true);
+                Path path = PathFactoryImpl.getInstance().create(parent.getPath(), name,
true);
                 PropertyId id = IdFactoryImpl.getInstance().createPropertyId(parentId, name);
 
                 propertyInfo = new PropertyInfoImpl(path, id, type, isMultivalued,



Mime
View raw message