jackrabbit-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tobias Strasser (JIRA)" <j...@apache.org>
Subject [jira] Created: (JCR-44) Overwriting a reference property with different type corrupts rep
Date Thu, 10 Feb 2005 21:07:14 GMT
Overwriting a reference property with different type corrupts rep
-----------------------------------------------------------------

         Key: JCR-44
         URL: http://issues.apache.org/jira/browse/JCR-44
     Project: Jackrabbit
        Type: Bug
 Environment: jackrabbit r153279
    Reporter: Tobias Strasser
 Assigned to: Stefan Guggisberg 


- create node n1
- create node n2
- n2.setProperty("prop", n1)
- save()
- n2.setProperty("prop", "hello, world.")
- save()
- n1.remove()
- save() --> exception

see also ReferencesTest case

btw: removing the property or overwriting with a different reference works.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira


Mime
View raw message