jackrabbit-oak-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Angela Schreiber <anch...@adobe.com>
Subject Re: svn commit: r1346781 - /jackrabbit/oak/trunk/oak-jcr/src/main/java/org/apache/jackrabbit/oak/jcr/NodeImpl.java
Date Wed, 06 Jun 2012 11:54:23 GMT
oh... but the NodeTypeManager should be able to deal with
expanded names, shouldn't it?

i will take a look... the hardcoded string will not work either
as the namespace prefix could be remapped to something else.

regards
angela

On 6/6/12 1:31 PM, Julian Reschke wrote:
> On 2012-06-06 10:43, angela@apache.org wrote:
>> ...
>> @@ -671,7 +668,7 @@ public class NodeImpl extends ItemImpl i
>>            String primaryNtName;
>>            primaryNtName = hasProperty(Property.JCR_PRIMARY_TYPE)
>>                ? getProperty(Property.JCR_PRIMARY_TYPE).getString()
>> -            : "nt:unstructured";
>> +            : NodeType.NT_UNSTRUCTURED;
>>
>>            return ntMgr.getNodeType(primaryNtName);
>>        }
>> ...
>
> I believe this one broke the JCR integration tests.
>
> Best regards, Julian

Mime
View raw message