[dna-issues] [JBoss JIRA] Commented: (DNA-479) Workspace import does not work
Randall Hauch (JIRA)
jira-events at lists.jboss.org
Tue Jul 14 15:07:29 EDT 2009
[ https://jira.jboss.org/jira/browse/DNA-479?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12476281#action_12476281 ]
Randall Hauch commented on DNA-479:
-----------------------------------
Resolved the final issues with the importer. The SessionCache (and GraphSession) save methods were not properly refreshing if there were no changes. Also, the JcrContentHandler was always saving its changes, but should only have been doing that when used against the workspace. Once these were fixed, all of the import TCK unit tests (related to import/export) now run successfully.
> 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
> Assignee: 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