Uploaded image for project: 'Jackrabbit Content Repository'
  1. Jackrabbit Content Repository
  2. JCR-3307

JCR test org.apache.jackrabbit.test.api.version.MergeActivityTest doesn't check whether the repository supports activities

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.4.1
    • 2.4.2, 2.5
    • jackrabbit-jcr-tests
    • None

    Description

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

      Attachments

        Activity

          People

            reschke Julian Reschke
            hchiorean Horia Chiorean
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: