Issue Details (XML | Word | Printable)

Key: JCR-363
Type: Bug Bug
Status: Closed Closed
Resolution: Fixed
Priority: Major Major
Assignee: Stefan Guggisberg
Reporter: Stefan Guggisberg
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
Jackrabbit Content Repository

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

Created: 20/Mar/06 06:59 PM   Updated: 29/Mar/06 02:38 AM
Return to search
Component/s: JCR API
Affects Version/s: 0.9
Fix Version/s: 1.0

Time Tracking:
Not Specified

Environment: svn r387181

Resolution Date: 20/Mar/06 09:35 PM


 Description  « Hide
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.

 All   Comments   Work Log   Change History   Subversion Commits      Sort Order: Ascending order - Click to sort in descending order
No work has yet been logged on this issue.