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

8 messages Options
Embed this post
Permalink
JIRA jira@apache.org

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

Reply Threaded More More options
Print post
Permalink
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.

JIRA jira@apache.org

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

Reply Threaded More More options
Print post
Permalink

     [ 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.

JIRA jira@apache.org

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

Reply Threaded More More options
Print post
Permalink
In reply to this post by JIRA jira@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 jira@apache.org

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

Reply Threaded More More options
Print post
Permalink
In reply to this post by JIRA jira@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 jira@apache.org

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

Reply Threaded More More options
Print post
Permalink
In reply to this post by JIRA jira@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 jira@apache.org

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

Reply Threaded More More options
Print post
Permalink
In reply to this post by JIRA jira@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 jira@apache.org

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

Reply Threaded More More options
Print post
Permalink
In reply to this post by JIRA jira@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.

Subbarao

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

Reply Threaded More More options
Print post
Permalink
In reply to this post by JIRA jira@apache.org
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.