You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jackrabbit.apache.org by "Randall Hauch (JIRA)" <ji...@apache.org> on 2012/07/09 19:52:33 UTC
[jira] [Commented] (JCR-3380) TCK tests for shareable nodes assume
moving shareable nodes is not supported
[ https://issues.apache.org/jira/browse/JCR-3380?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13409682#comment-13409682 ]
Randall Hauch commented on JCR-3380:
------------------------------------
I will upload a (properly formatted) patch with a proposed fix for these methods.
> TCK tests for shareable nodes assume moving shareable nodes is not supported
> ----------------------------------------------------------------------------
>
> Key: JCR-3380
> URL: https://issues.apache.org/jira/browse/JCR-3380
> Project: Jackrabbit Content Repository
> Issue Type: Bug
> Components: jackrabbit-jcr-tests, JCR 2.0, test
> Affects Versions: 2.5
> Reporter: Randall Hauch
> Fix For: 2.5.1, 2.6
>
>
> There are two tests in ShareableNodeTest that assume that an implementation does not support moving shareable nodes. This is inconsistent with what is required by JSR-283.
> 1) testMoveShareableNode assumes that the implementation does not support moving nodes that are 'mix:shareable' (even when they are not yet shared) using Workspace.move(...).
> 2) testTransientMoveShareableNode makes a similar assumption to #1, except that it uses the Session.move(...) operation.
> Both of these test should be changed to allow an implementation to either not support the operation (e.g., Jackrabbit) or to properly check the results.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira