jackrabbit-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tri...@apache.org
Subject svn commit: r219466 - /incubator/jackrabbit/trunk/core/src/java/org/apache/jackrabbit/core/nodetype/virtual/VirtualNodeTypeStateProvider.java
Date Mon, 18 Jul 2005 11:10:15 GMT
Author: tripod
Date: Mon Jul 18 04:09:39 2005
New Revision: 219466

URL: http://svn.apache.org/viewcvs?rev=219466&view=rev
Log:
[#JCR-170] VirtualItemStates of node types definitions not accessible with uuid

Modified:
    incubator/jackrabbit/trunk/core/src/java/org/apache/jackrabbit/core/nodetype/virtual/VirtualNodeTypeStateProvider.java

Modified: incubator/jackrabbit/trunk/core/src/java/org/apache/jackrabbit/core/nodetype/virtual/VirtualNodeTypeStateProvider.java
URL: http://svn.apache.org/viewcvs/incubator/jackrabbit/trunk/core/src/java/org/apache/jackrabbit/core/nodetype/virtual/VirtualNodeTypeStateProvider.java?rev=219466&r1=219465&r2=219466&view=diff
==============================================================================
--- incubator/jackrabbit/trunk/core/src/java/org/apache/jackrabbit/core/nodetype/virtual/VirtualNodeTypeStateProvider.java
(original)
+++ incubator/jackrabbit/trunk/core/src/java/org/apache/jackrabbit/core/nodetype/virtual/VirtualNodeTypeStateProvider.java
Mon Jul 18 04:09:39 2005
@@ -58,6 +58,11 @@
     public VirtualNodeTypeStateProvider(NodeTypeRegistry ntReg, String rootNodeId, String
parentId) {
         super(ntReg, new NodeId(rootNodeId));
         this.parentId = parentId;
+        try {
+            getRootState();
+        } catch (ItemStateException e) {
+            // ignore
+        }
     }
 
     /**



Mime
View raw message