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

Error when registering nodetype with same propdef as supertype

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.4, core 1.4.1
    • 1.5
    • nodetype
    • None

    Description

      error in check:

      if (pd.getRequiredType() == epd.getRequiredType()
      && pd.isMultiple() == epd.isMultiple())

      { // conflict String msg = "The property definition for '" + name + "' in node type '" + def.getDeclaringNodeType() + "' conflicts with node type '" + existingDef.getDeclaringNodeType() + "': ambiguous property definition"; log.debug(msg); throw new NodeTypeConflictException(msg); }

      if needs to be inverted.

      Attachments

        Activity

          People

            tripod Tobias Bocanegra
            tripod Tobias Bocanegra
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: