Hide Forgot
Steps to Reproduce: 1. Unzip BRMS 5.1.0, install and configure modeshape. 2. Log into Guvnor, import docgen_repository.xml file. Error message is shown and exception appears in log. securitylevel_name: Public Following exception is thrown when importing repository from some XML files (one that is doing this is attached): javax.jcr.nodetype.ConstraintViolationException: Cannot find a definition for the property named 'drools:categoryReference' on the node at '/drools:repository/drools:package_area/docgen/assets/docgen03' with primary type 'drools:assetNodeType' and mixin types: [] It has probably nothing do to with SOA-2976 patch, because same exception is thrown with non patched version too. This is the only XML file we (QE) have that is causing this. We have several other XMLs (cca 15) and there is no problem with them.
Attachment: Added: docgen_repository.xml Attachment: Added: server.log
assigning to kurt to take a look at and provide any input
Can this be retested with a recent BRMS 5.2 build? These appear to be related to issues that were already fixed.
Assigning to Petr for re-testing.
Verified fixed in BRMS 5.2.0 ER1.
Hi, How was this fixed? Required for release notes. Thanks Lee
Technical note added. If any revisions are required, please edit the "Technical Notes" field accordingly. All revisions will be proofread by the Engineering Content Services team. New Contents: https://bugzilla.redhat.com/show_bug.cgi?id=724684 When importing a repository from an XML file with Modeshape, the ConstraintViolationException exception is thrown.
I still need to know how this was resolved for the release notes (information in bullet point form is fine). If it is simply the case that upgrading versions of modeshape resolved the bug I can add that to the release notes, but please let me know if this is the case. Thanks Lee
Technical note updated. If any revisions are required, please edit the "Technical Notes" field accordingly. All revisions will be proofread by the Engineering Content Services team. Diffed Contents: @@ -1,3 +1 @@ -https://bugzilla.redhat.com/show_bug.cgi?id=724684 +When importing a repository from an XML file with Modeshape, the ConstraintViolationException exception is thrown. This issue was resolved and the behavior no longer occurs.- -When importing a repository from an XML file with Modeshape, the ConstraintViolationException exception is thrown.
Technical note updated. If any revisions are required, please edit the "Technical Notes" field accordingly. All revisions will be proofread by the Engineering Content Services team. Diffed Contents: @@ -1 +1 @@ -When importing a repository from an XML file with Modeshape, the ConstraintViolationException exception is thrown. This issue was resolved and the behavior no longer occurs.+When importing a repository from an XML file with Modeshape, the ConstraintViolationException exception is thrown.
Hi Lee, I do not know how exactly was this issue fixed. It was just gone in new version of ModeShape.
Thanks Petr, That's actually great - it means I can add to the release notes that upgrading between versions of Modeshape resolved the issue. Thanks for getting back to me.
Technical note updated. If any revisions are required, please edit the "Technical Notes" field accordingly. All revisions will be proofread by the Engineering Content Services team. Diffed Contents: @@ -1 +1 @@ -When importing a repository from an XML file with Modeshape, the ConstraintViolationException exception is thrown.+When importing a repository from an XML file with Modeshape, the ConstraintViolationException exception is thrown. Upgrading the version of ModeShape resolved this issue.
Technical note updated. If any revisions are required, please edit the "Technical Notes" field accordingly. All revisions will be proofread by the Engineering Content Services team. Diffed Contents: @@ -1 +1 @@ -When importing a repository from an XML file with Modeshape, the ConstraintViolationException exception is thrown. Upgrading the version of ModeShape resolved this issue.+When importing a repository from an XML file with Modeshape, the ConstraintViolationException exception was thrown. Upgrading the version of ModeShape resolved this issue.