You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jackrabbit.apache.org by "Luca Tagliani (JIRA)" <ji...@apache.org> on 2009/10/29 10:40:59 UTC

[jira] Created: (JCR-2369) Problem importing node with binary property in a repository configured with datastore

Problem importing node with binary property in a repository configured with datastore
-------------------------------------------------------------------------------------

                 Key: JCR-2369
                 URL: https://issues.apache.org/jira/browse/JCR-2369
             Project: Jackrabbit Content Repository
          Issue Type: Bug
    Affects Versions: 1.6.0
            Reporter: Luca Tagliani


Using the importXML method of workspace to import some node containing binary properties the nodes are imported correctly and the value of the binary data property is imported
However the binary data goes to the db (persistenceManager) an not to the datastore.

Creating a new node of the same type using the api, the binary data go to the datastore.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Re: [jira] Created: (JCR-2369) Problem importing node with binary property in a repository configured with datastore

Posted by Subbarao <su...@2xprime.com>.
Hi

I am using jackrabbit 1.4 over JBoss server(Version 4.0.5) and trying to
migrate to 1.6.
I have the below files in my JBoss deploy folder related to Jackrabbit.
jcr-ds.xml
jackrabbit-jca-1.4.rar
jackrabbit-jcr-rmi-1.4.1.jar
and i also have "jcr-1.0.jar" in JBoss lib directory.

Please give me the steps to follow for migrating to Jackrabbit 1.6.

One more question. "Can i use the old repository?"



JIRA jira@apache.org wrote:
> 
> Problem importing node with binary property in a repository configured
> with datastore
> -------------------------------------------------------------------------------------
> 
>                  Key: JCR-2369
>                  URL: https://issues.apache.org/jira/browse/JCR-2369
>              Project: Jackrabbit Content Repository
>           Issue Type: Bug
>     Affects Versions: 1.6.0
>             Reporter: Luca Tagliani
> 
> 
> Using the importXML method of workspace to import some node containing
> binary properties the nodes are imported correctly and the value of the
> binary data property is imported
> However the binary data goes to the db (persistenceManager) an not to the
> datastore.
> 
> Creating a new node of the same type using the api, the binary data go to
> the datastore.
> 
> -- 
> This message is automatically generated by JIRA.
> -
> You can reply to this email to add a comment to the issue online.
> 
> 
> 

-- 
View this message in context: http://old.nabble.com/-jira--Created%3A-%28JCR-2369%29-Problem-importing-node-with-binary-property-in-a-repository-configured-with-datastore-tp26109933p26193822.html
Sent from the Jackrabbit - Dev mailing list archive at Nabble.com.


[jira] Commented: (JCR-2369) Problem importing node with binary property in a repository configured with datastore

Posted by "Thomas Mueller (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/JCR-2369?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12773434#action_12773434 ] 

Thomas Mueller commented on JCR-2369:
-------------------------------------

I have committed the bugfix in the 1.6 branch. 

The problem doesn't occur in trunk (and in the 2.0 branch), because of some other changes.

> Problem importing node with binary property in a repository configured with datastore
> -------------------------------------------------------------------------------------
>
>                 Key: JCR-2369
>                 URL: https://issues.apache.org/jira/browse/JCR-2369
>             Project: Jackrabbit Content Repository
>          Issue Type: Bug
>    Affects Versions: 1.6.0
>            Reporter: Luca Tagliani
>            Assignee: Thomas Mueller
>         Attachments: testBug.zip
>
>
> Using the importXML method of workspace to import some node containing binary properties the nodes are imported correctly and the value of the binary data property is imported
> However the binary data goes to the db (persistenceManager) an not to the datastore.
> Creating a new node of the same type using the api, the binary data go to the datastore.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (JCR-2369) Problem importing node with binary property in a repository configured with datastore

Posted by "Thomas Mueller (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/JCR-2369?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Thomas Mueller updated JCR-2369:
--------------------------------

      Component/s: jackrabbit-core
         Priority: Minor  (was: Major)
    Fix Version/s: 1.6.1

> Problem importing node with binary property in a repository configured with datastore
> -------------------------------------------------------------------------------------
>
>                 Key: JCR-2369
>                 URL: https://issues.apache.org/jira/browse/JCR-2369
>             Project: Jackrabbit Content Repository
>          Issue Type: Bug
>          Components: jackrabbit-core
>    Affects Versions: 1.6.0
>            Reporter: Luca Tagliani
>            Assignee: Thomas Mueller
>            Priority: Minor
>             Fix For: 1.6.1
>
>         Attachments: testBug.zip
>
>
> Using the importXML method of workspace to import some node containing binary properties the nodes are imported correctly and the value of the binary data property is imported
> However the binary data goes to the db (persistenceManager) an not to the datastore.
> Creating a new node of the same type using the api, the binary data go to the datastore.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Assigned: (JCR-2369) Problem importing node with binary property in a repository configured with datastore

Posted by "Thomas Mueller (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/JCR-2369?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Thomas Mueller reassigned JCR-2369:
-----------------------------------

    Assignee: Thomas Mueller

> Problem importing node with binary property in a repository configured with datastore
> -------------------------------------------------------------------------------------
>
>                 Key: JCR-2369
>                 URL: https://issues.apache.org/jira/browse/JCR-2369
>             Project: Jackrabbit Content Repository
>          Issue Type: Bug
>    Affects Versions: 1.6.0
>            Reporter: Luca Tagliani
>            Assignee: Thomas Mueller
>         Attachments: testBug.zip
>
>
> Using the importXML method of workspace to import some node containing binary properties the nodes are imported correctly and the value of the binary data property is imported
> However the binary data goes to the db (persistenceManager) an not to the datastore.
> Creating a new node of the same type using the api, the binary data go to the datastore.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (JCR-2369) Problem importing node with binary property in a repository configured with datastore

Posted by "Thomas Mueller (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/JCR-2369?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12772559#action_12772559 ] 

Thomas Mueller commented on JCR-2369:
-------------------------------------

I can reproduce the problem with Jackrabbit 1.6

> Problem importing node with binary property in a repository configured with datastore
> -------------------------------------------------------------------------------------
>
>                 Key: JCR-2369
>                 URL: https://issues.apache.org/jira/browse/JCR-2369
>             Project: Jackrabbit Content Repository
>          Issue Type: Bug
>    Affects Versions: 1.6.0
>            Reporter: Luca Tagliani
>            Assignee: Thomas Mueller
>         Attachments: testBug.zip
>
>
> Using the importXML method of workspace to import some node containing binary properties the nodes are imported correctly and the value of the binary data property is imported
> However the binary data goes to the db (persistenceManager) an not to the datastore.
> Creating a new node of the same type using the api, the binary data go to the datastore.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Resolved: (JCR-2369) Problem importing node with binary property in a repository configured with datastore

Posted by "Thomas Mueller (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/JCR-2369?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Thomas Mueller resolved JCR-2369.
---------------------------------

    Resolution: Fixed

> Problem importing node with binary property in a repository configured with datastore
> -------------------------------------------------------------------------------------
>
>                 Key: JCR-2369
>                 URL: https://issues.apache.org/jira/browse/JCR-2369
>             Project: Jackrabbit Content Repository
>          Issue Type: Bug
>          Components: jackrabbit-core
>    Affects Versions: 1.6.0
>            Reporter: Luca Tagliani
>            Assignee: Thomas Mueller
>            Priority: Minor
>             Fix For: 1.6.1
>
>         Attachments: testBug.zip
>
>
> Using the importXML method of workspace to import some node containing binary properties the nodes are imported correctly and the value of the binary data property is imported
> However the binary data goes to the db (persistenceManager) an not to the datastore.
> Creating a new node of the same type using the api, the binary data go to the datastore.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (JCR-2369) Problem importing node with binary property in a repository configured with datastore

Posted by "Luca Tagliani (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/JCR-2369?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Luca Tagliani updated JCR-2369:
-------------------------------

    Attachment: testBug.zip

Added maven test project (created using Netbeans) for reproduce the behaviour.

> Problem importing node with binary property in a repository configured with datastore
> -------------------------------------------------------------------------------------
>
>                 Key: JCR-2369
>                 URL: https://issues.apache.org/jira/browse/JCR-2369
>             Project: Jackrabbit Content Repository
>          Issue Type: Bug
>    Affects Versions: 1.6.0
>            Reporter: Luca Tagliani
>         Attachments: testBug.zip
>
>
> Using the importXML method of workspace to import some node containing binary properties the nodes are imported correctly and the value of the binary data property is imported
> However the binary data goes to the db (persistenceManager) an not to the datastore.
> Creating a new node of the same type using the api, the binary data go to the datastore.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.