Horia Chiorean (JIRA | 14 May 12:30 2012
Picon

[Created] (JCR-3307) JCR test org.apache.jackrabbit.test.api.version.MergeActivityTest doesn't check whether the repository supports activities

Horia Chiorean created JCR-3307:
-----------------------------------

             Summary: JCR test org.apache.jackrabbit.test.api.version.MergeActivityTest doesn't check whether
the repository supports activities
                 Key: JCR-3307
                 URL: https://issues.apache.org/jira/browse/JCR-3307
             Project: Jackrabbit Content Repository
          Issue Type: Bug
          Components: jackrabbit-jcr-tests
    Affects Versions: 2.4.1
            Reporter: Horia Chiorean

The test: org.apache.jackrabbit.test.api.version.MergeActivityTest, during setup (the initNodes
method call) does not handle the case when activities are not supported by the repository. Therefore, if
the versionManager.createActivity("foobar") call fails with an
UnsupportedRepositoryOperationException, the whole test fails.

The setup of the test should do something similar to
org.apache.jackrabbit.test.api.version.ActivitiesTest:  checkSupportedOption(Repository.OPTION_ACTIVITIES_SUPPORTED);

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

Julian Reschke (JIRA | 14 May 13:37 2012
Picon

[Assigned] (JCR-3307) JCR test org.apache.jackrabbit.test.api.version.MergeActivityTest doesn't check whether the repository supports activities


     [
https://issues.apache.org/jira/browse/JCR-3307?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Julian Reschke reassigned JCR-3307:
-----------------------------------

    Assignee: Julian Reschke

> JCR test org.apache.jackrabbit.test.api.version.MergeActivityTest doesn't check whether the
repository supports activities
> --------------------------------------------------------------------------------------------------------------------------
>
>                 Key: JCR-3307
>                 URL: https://issues.apache.org/jira/browse/JCR-3307
>             Project: Jackrabbit Content Repository
>          Issue Type: Bug
>          Components: jackrabbit-jcr-tests
>    Affects Versions: 2.4.1
>            Reporter: Horia Chiorean
>            Assignee: Julian Reschke
>
> The test: org.apache.jackrabbit.test.api.version.MergeActivityTest, during setup (the initNodes
method call) does not handle the case when activities are not supported by the repository. Therefore, if
the versionManager.createActivity("foobar") call fails with an
UnsupportedRepositoryOperationException, the whole test fails.
> The setup of the test should do something similar to
org.apache.jackrabbit.test.api.version.ActivitiesTest:  checkSupportedOption(Repository.OPTION_ACTIVITIES_SUPPORTED);

--
(Continue reading)

Julian Reschke (JIRA | 14 May 15:01 2012
Picon

[Resolved] (JCR-3307) JCR test org.apache.jackrabbit.test.api.version.MergeActivityTest doesn't check whether the repository supports activities


     [
https://issues.apache.org/jira/browse/JCR-3307?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Julian Reschke resolved JCR-3307.
---------------------------------

       Resolution: Fixed
    Fix Version/s: 2.6
                   2.4.2

> JCR test org.apache.jackrabbit.test.api.version.MergeActivityTest doesn't check whether the
repository supports activities
> --------------------------------------------------------------------------------------------------------------------------
>
>                 Key: JCR-3307
>                 URL: https://issues.apache.org/jira/browse/JCR-3307
>             Project: Jackrabbit Content Repository
>          Issue Type: Bug
>          Components: jackrabbit-jcr-tests
>    Affects Versions: 2.4.1
>            Reporter: Horia Chiorean
>            Assignee: Julian Reschke
>             Fix For: 2.4.2, 2.6
>
>
> The test: org.apache.jackrabbit.test.api.version.MergeActivityTest, during setup (the initNodes
method call) does not handle the case when activities are not supported by the repository. Therefore, if
the versionManager.createActivity("foobar") call fails with an
UnsupportedRepositoryOperationException, the whole test fails.
(Continue reading)

Jukka Zitting (JIRA | 27 May 11:47 2012
Picon

[Updated] (JCR-3307) JCR test org.apache.jackrabbit.test.api.version.MergeActivityTest doesn't check whether the repository supports activities


     [
https://issues.apache.org/jira/browse/JCR-3307?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jukka Zitting updated JCR-3307:
-------------------------------

    Fix Version/s:     (was: 2.6)

> JCR test org.apache.jackrabbit.test.api.version.MergeActivityTest doesn't check whether the
repository supports activities
> --------------------------------------------------------------------------------------------------------------------------
>
>                 Key: JCR-3307
>                 URL: https://issues.apache.org/jira/browse/JCR-3307
>             Project: Jackrabbit Content Repository
>          Issue Type: Bug
>          Components: jackrabbit-jcr-tests
>    Affects Versions: 2.4.1
>            Reporter: Horia Chiorean
>            Assignee: Julian Reschke
>             Fix For: 2.4.2
>
>
> The test: org.apache.jackrabbit.test.api.version.MergeActivityTest, during setup (the initNodes
method call) does not handle the case when activities are not supported by the repository. Therefore, if
the versionManager.createActivity("foobar") call fails with an
UnsupportedRepositoryOperationException, the whole test fails.
> The setup of the test should do something similar to
org.apache.jackrabbit.test.api.version.ActivitiesTest:  checkSupportedOption(Repository.OPTION_ACTIVITIES_SUPPORTED);
(Continue reading)

Jukka Zitting (JIRA | 27 May 11:55 2012
Picon

[Updated] (JCR-3307) JCR test org.apache.jackrabbit.test.api.version.MergeActivityTest doesn't check whether the repository supports activities


     [
https://issues.apache.org/jira/browse/JCR-3307?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jukka Zitting updated JCR-3307:
-------------------------------

    Fix Version/s: 2.5

> JCR test org.apache.jackrabbit.test.api.version.MergeActivityTest doesn't check whether the
repository supports activities
> --------------------------------------------------------------------------------------------------------------------------
>
>                 Key: JCR-3307
>                 URL: https://issues.apache.org/jira/browse/JCR-3307
>             Project: Jackrabbit Content Repository
>          Issue Type: Bug
>          Components: jackrabbit-jcr-tests
>    Affects Versions: 2.4.1
>            Reporter: Horia Chiorean
>            Assignee: Julian Reschke
>             Fix For: 2.4.2, 2.5
>
>
> The test: org.apache.jackrabbit.test.api.version.MergeActivityTest, during setup (the initNodes
method call) does not handle the case when activities are not supported by the repository. Therefore, if
the versionManager.createActivity("foobar") call fails with an
UnsupportedRepositoryOperationException, the whole test fails.
> The setup of the test should do something similar to
org.apache.jackrabbit.test.api.version.ActivitiesTest:  checkSupportedOption(Repository.OPTION_ACTIVITIES_SUPPORTED);
(Continue reading)


Gmane