Return-Path: Delivered-To: apmail-incubator-jackrabbit-dev-archive@www.apache.org Received: (qmail 8176 invoked from network); 20 Mar 2006 11:00:25 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 20 Mar 2006 11:00:25 -0000 Received: (qmail 54378 invoked by uid 500); 20 Mar 2006 11:00:23 -0000 Mailing-List: contact jackrabbit-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: jackrabbit-dev@incubator.apache.org Delivered-To: mailing list jackrabbit-dev@incubator.apache.org Received: (qmail 54366 invoked by uid 99); 20 Mar 2006 11:00:23 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 20 Mar 2006 03:00:23 -0800 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [192.87.106.226] (HELO ajax.apache.org) (192.87.106.226) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 20 Mar 2006 03:00:22 -0800 Received: from ajax (localhost.localdomain [127.0.0.1]) by ajax.apache.org (Postfix) with ESMTP id A8E74D49FF for ; Mon, 20 Mar 2006 11:00:01 +0000 (GMT) Message-ID: <1299103195.1142852401687.JavaMail.jira@ajax> Date: Mon, 20 Mar 2006 11:00:01 +0000 (GMT) From: "Stefan Guggisberg (JIRA)" To: jackrabbit-dev@incubator.apache.org Subject: [jira] Created: (JCR-363) Node.setProperty(String, ...) implementation not according to the specification MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Node.setProperty(String, ...) implementation not according to the specification -------------------------------------------------------------------------------- Key: JCR-363 URL: http://issues.apache.org/jira/browse/JCR-363 Project: Jackrabbit Type: Bug Components: API Versions: 0.9 Environment: svn r387181 Reporter: Stefan Guggisberg Fix For: 1.0 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. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira