Bug 796612
Summary: | Error during validation of model in Guvnor | ||||||
---|---|---|---|---|---|---|---|
Product: | [JBoss] JBoss Enterprise BRMS Platform 5 | Reporter: | Sona Mala <smala> | ||||
Component: | BRM (Guvnor) | Assignee: | manstis | ||||
Status: | VERIFIED --- | QA Contact: | |||||
Severity: | high | Docs Contact: | |||||
Priority: | high | ||||||
Version: | BRMS 5.3.0.GA | CC: | jlocker, manstis | ||||
Target Milestone: | --- | Keywords: | Regression | ||||
Target Release: | BRMS 5.3.0.GA | ||||||
Hardware: | Unspecified | ||||||
OS: | Linux | ||||||
Whiteboard: | |||||||
Fixed In Version: | Doc Type: | Bug Fix | |||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | Environment: | ||||||
Last Closed: | Type: | --- | |||||
Regression: | --- | Mount Type: | --- | ||||
Documentation: | --- | CRM: | |||||
Verified Versions: | Category: | --- | |||||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
Cloudforms Team: | --- | Target Upstream Version: | |||||
Embargoed: | |||||||
Bug Depends On: | |||||||
Bug Blocks: | 754093 | ||||||
Attachments: |
|
This is a regression. After saving the declarative model, the whole package is broken. Rules that use facts from the declarative model cannot be validated, test scenarios cannot be run and the package cannot be built. I tried save a declarative model with two facts: 1. | declare Fact 2. | field: String 3. | end 4. | 5. | declare Fact2 extends Fact 6. | number: Integer 7. | end After saving the source view looks like: 1. | declare Fact extends Object 2. | field: String 3. | end 4. | 5. | declare Fact2 extends Object 6. | number: Integer 7. | end When I am creating new rule I can not find Fact2.field. I lost information that Fact2 extends Fact. This is due to a regression in Drools Expert. I have asked for a fix made to master to be back-ported... and am awaiting confirmation it has been completed. See https://bugzilla.redhat.com/show_bug.cgi?id=754093 Setting Blocker flag as agreed on in triage meeting. Michael Anstis <michael.anstis> updated the status of jira JBRULES-3418 to Coding In Progress Michael Anstis <michael.anstis> updated the status of jira JBRULES-3417 to Coding In Progress Michael Anstis <michael.anstis> updated the status of jira JBRULES-3418 to Resolved Michael Anstis <michael.anstis> updated the status of jira JBRULES-3417 to Resolved Update status to ON_QA. Please verify them against ER6. |
Created attachment 565251 [details] Server log, source code of model Description of problem: During validation of model, an alert "Unable to validate this asset. (Check log for detailed messages)." appears. Server log contains an error (the description is attached) Version-Release number of selected component (if applicable): BRMS-standallone-5.3.0.ER4 How reproducible: Validation of new or empty model is ok. After saving non-empty model, the validation error appears. Steps to Reproduce: 1. Open new or empty model 2. Add some fields 3. Validate 4. Save the model 5. Validate Actual results: Step 3. Validation is ok. The source code of model is attached. Step 5. Validation failed. The source code of model is attached. Expected results: If I do not change a model, I expect the same result of validation. Additional info: