Return-Path: X-Original-To: apmail-openjpa-dev-archive@www.apache.org Delivered-To: apmail-openjpa-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 0F002221F for ; Wed, 27 Apr 2011 18:50:42 +0000 (UTC) Received: (qmail 94679 invoked by uid 500); 27 Apr 2011 18:50:41 -0000 Delivered-To: apmail-openjpa-dev-archive@openjpa.apache.org Received: (qmail 94656 invoked by uid 500); 27 Apr 2011 18:50:41 -0000 Mailing-List: contact dev-help@openjpa.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@openjpa.apache.org Delivered-To: mailing list dev@openjpa.apache.org Received: (qmail 94648 invoked by uid 99); 27 Apr 2011 18:50:41 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 27 Apr 2011 18:50:41 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,T_RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 27 Apr 2011 18:50:40 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 484DAB63B5 for ; Wed, 27 Apr 2011 18:50:03 +0000 (UTC) Date: Wed, 27 Apr 2011 18:50:03 +0000 (UTC) From: "Albert Lee (JIRA)" To: dev@openjpa.apache.org Message-ID: <889485330.6729.1303930203292.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <928428761.79134.1303679525692.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Resolved] (OPENJPA-1984) Incorrect ViolationContraint getRootBean when removing bean with embedded entity validation MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/OPENJPA-1984?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Albert Lee resolved OPENJPA-1984. --------------------------------- Resolution: Fixed > Incorrect ViolationContraint getRootBean when removing bean with embedded entity validation > ------------------------------------------------------------------------------------------- > > Key: OPENJPA-1984 > URL: https://issues.apache.org/jira/browse/OPENJPA-1984 > Project: OpenJPA > Issue Type: Bug > Components: kernel > Affects Versions: 2.1.0, 2.1.1, 2.2.0 > Reporter: Albert Lee > Assignee: Albert Lee > Priority: Minor > Fix For: 2.2.0 > > > When bean validation is performed during em.remove() against an entity with embedded entity and if the failing constraint occurred in the embedded entity, the root bean set in the ValidationConstraint returns in the ViolationConstraintException is incorrectly set to the embbedded entity, whereas the top level entity is expected. -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira