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

Node.setProperty(String, ...) implementation not according to the specification

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 0.9
    • 1.0
    • JCR API
    • None
    • svn r387181

    Description

      to illustrate the issue assume the following property definition:

      name: someText
      type: String
      non-mandatory
      non-autocreate

      the following call would throw a ConstraintViolationException
      if the property doesn't exist yet:

      node.setProperty("someText", 12345);

      the rules used to find an applicable definition in this case are too strict.

      Attachments

        Activity

          People

            stefan@jira Stefan Guggisberg
            stefan@jira Stefan Guggisberg
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: