jackrabbit-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ju...@apache.org
Subject svn commit: r544261 - /jackrabbit/branches/1.3/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/state/ItemState.java
Date Mon, 04 Jun 2007 20:55:00 GMT
Author: jukka
Date: Mon Jun  4 13:54:59 2007
New Revision: 544261

URL: http://svn.apache.org/viewvc?view=rev&rev=544261
Log:
1.3: Merged revision 5325847 (JCR-897)

Modified:
    jackrabbit/branches/1.3/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/state/ItemState.java

Modified: jackrabbit/branches/1.3/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/state/ItemState.java
URL: http://svn.apache.org/viewvc/jackrabbit/branches/1.3/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/state/ItemState.java?view=diff&rev=544261&r1=544260&r2=544261
==============================================================================
--- jackrabbit/branches/1.3/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/state/ItemState.java
(original)
+++ jackrabbit/branches/1.3/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/state/ItemState.java
Mon Jun  4 13:54:59 2007
@@ -131,6 +131,13 @@
             case STATUS_EXISTING_REMOVED:
                 status = initialStatus;
                 break;
+
+            case STATUS_UNDEFINED:
+                // see http://issues.apache.org/jira/browse/JCR-897
+                log.debug("creating ItemState instance with initialStatus=" + STATUS_UNDEFINED
+ ", id=" + overlayedState.getId());
+                status = initialStatus;
+                break;
+
             default:
                 String msg = "illegal status: " + initialStatus;
                 log.debug(msg);



Mime
View raw message