[
https://jira.jboss.org/jira/browse/DNA-437?page=com.atlassian.jira.plugin...
]
Brian Carothers updated DNA-437:
--------------------------------
Attachment: DNA-437.patch
This patch fixes the problems due to not checking constraints, not checking for absolute
paths on the destination path, and not flushing the cache.
The first two solutions are trivial. The proposed solution for flushing the cache is to
add a new method (SessionCache.purgeCachedNode(UUID)) that clears the cached node cache
only for the UUID. The crux of the problem is that we load some information about a
node's children when we load the node. This is a good optimization in general, but
seems to clash with the spec's semantics at times. Purging the cached node should
allow us to reload the child information for the node (when the node is next accessed) but
not lose any pending, session-scoped changes.
Having said that, it's a non-trivial change that is probably better
reviewed/committed/rejected as part of 0.6.
TCK Tests Fail on Workspace.copy
--------------------------------
Key: DNA-437
URL:
https://jira.jboss.org/jira/browse/DNA-437
Project: DNA
Issue Type: Bug
Components: JCR
Affects Versions: 0.4
Reporter: Brian Carothers
Attachments: DNA-437.patch
Several of the TCK tests for Workspace.copy are currently failing.
--
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