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

o.a.j.core.integration.PrepareTestRepository fails on 2nd and every subsequent invocation

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.4
    • Component/s: jackrabbit-core, test
    • Labels:
      None
    • Environment:
      jackrabbit r597027

      Description

      console output:

      -------------------------------------------------------------------------------
      Test set: org.apache.jackrabbit.core.integration.PrepareTestRepository
      -------------------------------------------------------------------------------
      Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 3.428 sec <<< FAILURE!
      testPrepareTestRepository(org.apache.jackrabbit.core.integration.PrepareTestRepository) Time elapsed: 3.397 sec <<< ERROR!
      javax.jcr.RepositoryException: Invalid node type definition:

      {http://www.apache.org/jackrabbit/test}

      versionable already exists:

      {http://www.apache.org/jackrabbit/test}

      versionable already exists
      at org.apache.jackrabbit.core.nodetype.NodeTypeManagerImpl.registerNodeTypes(NodeTypeManagerImpl.java:308)
      at org.apache.jackrabbit.core.nodetype.NodeTypeManagerImpl.registerNodeTypes(NodeTypeManagerImpl.java:488)
      at org.apache.jackrabbit.core.integration.PrepareTestRepository.testPrepareTestRepository(PrepareTestRepository.java:49)

        Attachments

          Activity

            People

            • Assignee:
              jukkaz Jukka Zitting
              Reporter:
              stefan@jira Stefan Guggisberg
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: