You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jackrabbit.apache.org by "Tobias Strasser (JIRA)" <ji...@apache.org> on 2005/02/10 22:07:14 UTC

[jira] Created: (JCR-44) Overwriting a reference property with different type corrupts rep

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


[jira] Resolved: (JCR-44) Overwriting a reference property with different type corrupts rep

Posted by "Stefan Guggisberg (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/JCR-44?page=history ]
     
Stefan Guggisberg resolved JCR-44:
----------------------------------

    Resolution: Fixed

fixed in rev. 153396

> 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
>     Assignee: 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


[jira] Closed: (JCR-44) Overwriting a reference property with different type corrupts rep

Posted by "Stefan Guggisberg (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/JCR-44?page=history ]
     
Stefan Guggisberg closed JCR-44:
--------------------------------


> 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
>     Assignee: 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