Bug 724494 (BRMS-439)

Summary: ConstraintViolationException thrown when importing sample rules. Modeshape used as JCR repository.
Product: [JBoss] JBoss Enterprise BRMS Platform 5 Reporter: Petr Široký <psiroky>
Component: ModeshapeAssignee: Default User <jbpapp-maint>
Status: CLOSED NEXTRELEASE QA Contact:
Severity: unspecified Docs Contact:
Priority: urgent    
Version: 5.1.0.ER3Keywords: TestBlocker
Target Milestone: ---   
Target Release: 5.1.0.ER4   
Hardware: Unspecified   
OS: Unspecified   
URL: http://jira.jboss.org/jira/browse/BRMS-439
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Fedora 13 x86_64 Java 1.6.0_21 (Sun)
Last Closed: 2010-11-24 13:59:34 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Attachments:
Description Flags
server.log
none
modeshape-config.xml none

Description Petr Široký 2010-11-12 09:52:06 UTC
Affects Testing: Blocks Testing
securitylevel_name: Public

When trying to import sample rules in Guvnor, the ConstraintViolationException is thrown. Modeshape is used as JCR backend.

Complete line with exception: 
javax.jcr.nodetype.ConstraintViolationException: The property "jcr:predecessors" does not satisfy the constraints defined on the "mix:versionable/jcr:predecessors/Reference*" property definition

Comment 1 Petr Široký 2010-11-12 09:55:13 UTC
Server log and modeshape-config attached.

Comment 2 Petr Široký 2010-11-12 09:55:13 UTC
Attachment: Added: server.log
Attachment: Added: modeshape-config.xml


Comment 3 Lukáš Petrovický 2010-11-13 15:13:49 UTC
Link: Added: This issue depends MODE-1016


Comment 4 Lukáš Petrovický 2010-11-16 09:49:09 UTC
Affects Testing: Added: [Blocks Testing]


Comment 5 Van Halbert 2010-11-16 14:33:05 UTC
Link: Added: This issue Cloned to BRMS-442


Comment 6 Randall Hauch 2010-11-16 20:55:17 UTC
MODE-1016 was fixed and resolved on 'trunk' and the '2.2.x' branch (see -1016 for details).

Comment 7 Van Halbert 2010-11-17 14:59:20 UTC
Release Notes Text: Added: ModeShape has applied the fix to its 2.2.x branch.   This will be available to the next build.  


Comment 8 Petr Široký 2010-11-24 13:59:34 UTC
Verified fixed in BRMS 5.1.0 ER4.