You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jackrabbit.apache.org by "scharles (JIRA)" <ji...@apache.org> on 2005/05/10 15:17:09 UTC

[jira] Created: (JCR-119) workspace.copy does not copy binary properties properly

workspace.copy does not copy binary properties properly
-------------------------------------------------------

         Key: JCR-119
         URL: http://issues.apache.org/jira/browse/JCR-119
     Project: Jackrabbit
        Type: Bug
    Reporter: scharles
    Priority: Critical


Workspace copy works fine for everything else but if you copy a hierarchy which contains binary properties
and remove the source after copying it removes the binary from "copied" newly created hierarchy as well.

How to reproduce:

1. create hierarchy with any type of nodes  - /site / en / image [Type Binary]
2. create another hierarchy at different level - /site2
3. copy /site/en under /site2
-- till now everything is fine, its a proper copy and if you export xml out of these 2 hierarchies you will see that "image" is actually copied
4. now delete /site/en
5. you will see all other properties as copied before /site2/en... except binary.

are binary types are always referenced? even if you copy via workspace copy


-- 
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
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


[jira] Assigned: (JCR-119) workspace.copy does not copy binary properties properly

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

Stefan Guggisberg reassigned JCR-119:
-------------------------------------

    Assign To: Stefan Guggisberg

> workspace.copy does not copy binary properties properly
> -------------------------------------------------------
>
>          Key: JCR-119
>          URL: http://issues.apache.org/jira/browse/JCR-119
>      Project: Jackrabbit
>         Type: Bug
>     Reporter: scharles
>     Assignee: Stefan Guggisberg
>     Priority: Critical

>
> Workspace copy works fine for everything else but if you copy a hierarchy which contains binary properties
> and remove the source after copying it removes the binary from "copied" newly created hierarchy as well.
> How to reproduce:
> 1. create hierarchy with any type of nodes  - /site / en / image [Type Binary]
> 2. create another hierarchy at different level - /site2
> 3. copy /site/en under /site2
> -- till now everything is fine, its a proper copy and if you export xml out of these 2 hierarchies you will see that "image" is actually copied
> 4. now delete /site/en
> 5. you will see all other properties as copied before /site2/en... except binary.
> are binary types are always referenced? even if you copy via workspace copy

-- 
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
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


[jira] Closed: (JCR-119) workspace.copy does not copy binary properties properly

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

    Resolution: Fixed

fixed in rev. 170146

> workspace.copy does not copy binary properties properly
> -------------------------------------------------------
>
>          Key: JCR-119
>          URL: http://issues.apache.org/jira/browse/JCR-119
>      Project: Jackrabbit
>         Type: Bug
>     Reporter: scharles
>     Assignee: Stefan Guggisberg
>     Priority: Critical

>
> Workspace copy works fine for everything else but if you copy a hierarchy which contains binary properties
> and remove the source after copying it removes the binary from "copied" newly created hierarchy as well.
> How to reproduce:
> 1. create hierarchy with any type of nodes  - /site / en / image [Type Binary]
> 2. create another hierarchy at different level - /site2
> 3. copy /site/en under /site2
> -- till now everything is fine, its a proper copy and if you export xml out of these 2 hierarchies you will see that "image" is actually copied
> 4. now delete /site/en
> 5. you will see all other properties as copied before /site2/en... except binary.
> are binary types are always referenced? even if you copy via workspace copy

-- 
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
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira