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/03 02:45:57 UTC

[jira] [Created] (JCR-3370) TCK test for shareable node paths assumes work area

Randall Hauch created JCR-3370:
----------------------------------

             Summary: TCK test for shareable node paths assumes work area
                 Key: JCR-3370
                 URL: https://issues.apache.org/jira/browse/JCR-3370
             Project: Jackrabbit Content Repository
          Issue Type: Bug
          Components: jackrabbit-jcr-tests, JCR 2.0, test
    Affects Versions: 2.5
            Reporter: Randall Hauch
            Priority: Critical
             Fix For: 2.5.1, 2.6


The last two lines in the ShareableNodeTest.testGetPath() method incorrectly assume the location of the testRootNode is '/testroot', even though the rest of the tests do not make this assumption and it's possible to configure the tests to use a different location for the testRootNode. These three lines:

        // verify paths of nodes b1/b2 in shared set
        assertEquals("/testroot/a1/b1", b1.getPath());
        assertEquals("/testroot/a2/b2", b2.getPath());

should instead be:

        // verify paths of nodes b1/b2 in shared set
        String testRootNodePath = testRootNode.getPath();
        assertEquals(testRootNodePath + "/a1/b1", b1.getPath());
        assertEquals(testRootNodePath + "/a2/b2", b2.getPath());

I marked as critical because the TCK test prevents other implementations from correctly proving compatibility.

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

        

[jira] [Resolved] (JCR-3370) TCK test for shareable node paths assumes work area

Posted by "Julian Reschke (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/JCR-3370?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Julian Reschke resolved JCR-3370.
---------------------------------

    Resolution: Fixed
    
> TCK test for shareable node paths assumes work area
> ---------------------------------------------------
>
>                 Key: JCR-3370
>                 URL: https://issues.apache.org/jira/browse/JCR-3370
>             Project: Jackrabbit Content Repository
>          Issue Type: Bug
>          Components: jackrabbit-jcr-tests, JCR 2.0, test
>    Affects Versions: 2.5
>            Reporter: Randall Hauch
>            Assignee: Julian Reschke
>            Priority: Critical
>             Fix For: 2.5.1, 2.6
>
>   Original Estimate: 1h
>  Remaining Estimate: 1h
>
> The last two lines in the ShareableNodeTest.testGetPath() method incorrectly assume the location of the testRootNode is '/testroot', even though the rest of the tests do not make this assumption and it's possible to configure the tests to use a different location for the testRootNode. These three lines:
>         // verify paths of nodes b1/b2 in shared set
>         assertEquals("/testroot/a1/b1", b1.getPath());
>         assertEquals("/testroot/a2/b2", b2.getPath());
> should instead be:
>         // verify paths of nodes b1/b2 in shared set
>         String testRootNodePath = testRootNode.getPath();
>         assertEquals(testRootNodePath + "/a1/b1", b1.getPath());
>         assertEquals(testRootNodePath + "/a2/b2", b2.getPath());
> I marked as critical because the TCK test prevents other implementations from correctly proving compatibility.

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

        

[jira] [Assigned] (JCR-3370) TCK test for shareable node paths assumes work area

Posted by "Julian Reschke (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/JCR-3370?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Julian Reschke reassigned JCR-3370:
-----------------------------------

    Assignee: Julian Reschke
    
> TCK test for shareable node paths assumes work area
> ---------------------------------------------------
>
>                 Key: JCR-3370
>                 URL: https://issues.apache.org/jira/browse/JCR-3370
>             Project: Jackrabbit Content Repository
>          Issue Type: Bug
>          Components: jackrabbit-jcr-tests, JCR 2.0, test
>    Affects Versions: 2.5
>            Reporter: Randall Hauch
>            Assignee: Julian Reschke
>            Priority: Critical
>             Fix For: 2.5.1, 2.6
>
>   Original Estimate: 1h
>  Remaining Estimate: 1h
>
> The last two lines in the ShareableNodeTest.testGetPath() method incorrectly assume the location of the testRootNode is '/testroot', even though the rest of the tests do not make this assumption and it's possible to configure the tests to use a different location for the testRootNode. These three lines:
>         // verify paths of nodes b1/b2 in shared set
>         assertEquals("/testroot/a1/b1", b1.getPath());
>         assertEquals("/testroot/a2/b2", b2.getPath());
> should instead be:
>         // verify paths of nodes b1/b2 in shared set
>         String testRootNodePath = testRootNode.getPath();
>         assertEquals(testRootNodePath + "/a1/b1", b1.getPath());
>         assertEquals(testRootNodePath + "/a2/b2", b2.getPath());
> I marked as critical because the TCK test prevents other implementations from correctly proving compatibility.

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

        

[jira] [Updated] (JCR-3370) TCK test for shareable node paths assumes work area

Posted by "Julian Reschke (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/JCR-3370?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Julian Reschke updated JCR-3370:
--------------------------------

    Priority: Major  (was: Critical)
    
> TCK test for shareable node paths assumes work area
> ---------------------------------------------------
>
>                 Key: JCR-3370
>                 URL: https://issues.apache.org/jira/browse/JCR-3370
>             Project: Jackrabbit Content Repository
>          Issue Type: Task
>          Components: jackrabbit-jcr-tests, JCR 2.0, test
>    Affects Versions: 2.5
>            Reporter: Randall Hauch
>            Assignee: Julian Reschke
>             Fix For: 2.5.1, 2.6
>
>   Original Estimate: 1h
>  Remaining Estimate: 1h
>
> The last two lines in the ShareableNodeTest.testGetPath() method incorrectly assume the location of the testRootNode is '/testroot', even though the rest of the tests do not make this assumption and it's possible to configure the tests to use a different location for the testRootNode. These three lines:
>         // verify paths of nodes b1/b2 in shared set
>         assertEquals("/testroot/a1/b1", b1.getPath());
>         assertEquals("/testroot/a2/b2", b2.getPath());
> should instead be:
>         // verify paths of nodes b1/b2 in shared set
>         String testRootNodePath = testRootNode.getPath();
>         assertEquals(testRootNodePath + "/a1/b1", b1.getPath());
>         assertEquals(testRootNodePath + "/a2/b2", b2.getPath());
> I marked as critical because the TCK test prevents other implementations from correctly proving compatibility.

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

        

[jira] [Updated] (JCR-3370) TCK test for shareable node paths assumes work area

Posted by "Julian Reschke (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/JCR-3370?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Julian Reschke updated JCR-3370:
--------------------------------

    Issue Type: Task  (was: Bug)
    
> TCK test for shareable node paths assumes work area
> ---------------------------------------------------
>
>                 Key: JCR-3370
>                 URL: https://issues.apache.org/jira/browse/JCR-3370
>             Project: Jackrabbit Content Repository
>          Issue Type: Task
>          Components: jackrabbit-jcr-tests, JCR 2.0, test
>    Affects Versions: 2.5
>            Reporter: Randall Hauch
>            Assignee: Julian Reschke
>            Priority: Critical
>             Fix For: 2.5.1, 2.6
>
>   Original Estimate: 1h
>  Remaining Estimate: 1h
>
> The last two lines in the ShareableNodeTest.testGetPath() method incorrectly assume the location of the testRootNode is '/testroot', even though the rest of the tests do not make this assumption and it's possible to configure the tests to use a different location for the testRootNode. These three lines:
>         // verify paths of nodes b1/b2 in shared set
>         assertEquals("/testroot/a1/b1", b1.getPath());
>         assertEquals("/testroot/a2/b2", b2.getPath());
> should instead be:
>         // verify paths of nodes b1/b2 in shared set
>         String testRootNodePath = testRootNode.getPath();
>         assertEquals(testRootNodePath + "/a1/b1", b1.getPath());
>         assertEquals(testRootNodePath + "/a2/b2", b2.getPath());
> I marked as critical because the TCK test prevents other implementations from correctly proving compatibility.

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