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

Registering multiple node types with the same name in a single file must fail

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 1.6, 2.0-alpha9
    • Fix Version/s: 1.6.1, 2.0-alpha11
    • Component/s: None
    • Labels:
      None

      Description

      Registering node types from a file (XML or CND) containing multiple definitions with the same name will succeed and only the last definition will be used.
      The right behavior is to throw an exception as this kind of file is well-formed but invalid.

        Attachments

          Activity

            People

            • Assignee:
              yabon Sébastien Launay
              Reporter:
              yabon Sébastien Launay
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: