Uploaded image for project: 'ModeShape'
  1. ModeShape
  2. MODE-2142

Create namespace with existing URI causing server startup to fail

XMLWordPrintable

    • Icon: Quality Risk Quality Risk
    • Resolution: Done
    • Icon: Blocker Blocker
    • 3.7.2.Final, 4.0.0.Alpha1
    • 3.6.0.Final
    • JCR
    • Using Eclipse Indigo at Windows 7 together with Java 6 + Tomcat + Unit Tests

      Not sure if it is a bug, however the server startup fails after a restart (redeploy). This is not really stable and robust.

      If you register a namespace with the same URI but with a different prefix, the old namespace gets replaced by the new one (thus removed). When the old namespace is in use by a nodetype, the server fails to start. A data wipe is neccesary then.

      Reproducible in unit test using file system, directory gets cleaned up after every tearDown.

              hchiorean Horia Chiorean (Inactive)
              bjornbal Bjorn Bal (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: