[dna-issues] [JBoss JIRA] Commented: (DNA-479) Workspace import does not work

Randall Hauch (JIRA) jira-events at lists.jboss.org
Thu Jul 9 17:57:29 EDT 2009


    [ https://jira.jboss.org/jira/browse/DNA-479?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12475675#action_12475675 ] 

Randall Hauch commented on DNA-479:
-----------------------------------

Changed the JcrContentHandler implementation to use its own SessionCache object if it is a workspace import, or to use the JcrSession's existing cache if it is a session import. Several test cases were uncommented, though the import/export related TCK unit tests do not all pass and remain commented out.  A bug was found in the way that SessionCache was creating child nodes: the property payloads were not getting populated for the few mandatory properties that exist upon creation.  This bug was fixed, and it also cleans up a bit of the JCR-specific logic.

Still need to get the TCK import tests working.

> Workspace import does not work
> ------------------------------
>
>                 Key: DNA-479
>                 URL: https://jira.jboss.org/jira/browse/DNA-479
>             Project: DNA
>          Issue Type: Bug
>          Components: JCR
>    Affects Versions: 0.5
>            Reporter: Randall Hauch
>            Priority: Blocker
>             Fix For: 0.6
>
>
> The changes in DNA-466 did not change the JcrContentHandler implementation to use the new approach.  The old way relied upon a SessionCache editor using a different batch, but that doesn't really work with the new GraphSession approach.  Maybe the best way to fix this, at least in the interim, is to have a SessionCache instance for the workspace import.  That would maintain the cache in memory (more than what is really needed), but it would save a ton of duplication.
> Several of the TCK unit tests are commented out because of this.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the dna-issues mailing list