Jozef Marko created DROOLS-2341:
-----------------------------------
Summary: Asset validation show errors of other assets
Key: DROOLS-2341
URL:
https://issues.jboss.org/browse/DROOLS-2341
Project: Drools
Issue Type: Bug
Components: Guided Decision Table Editor, Guided Rule Editor, Guided Template
Editor
Affects Versions: 7.7.0.Final
Reporter: Jozef Marko
Assignee: Michael Anstis
Priority: Blocker
Setting this as blocker as the amount of failing tests.
The issue can be seen if the project contains two assets, for example:
- a.rdrl - valid
- b.drl - invalid
Then if user validates the asset *a*, he will see errors of the asset *b*
The issue was revealed by the tests:
*
org.drools.workbench.screens.drltext.backend.server.DRLTextEditorServiceImplCDITest.testValidDSRLFile
*
org.drools.workbench.screens.drltext.backend.server.DRLTextEditorServiceImplCDITest.testInvalidDSRLFile
*
org.drools.workbench.screens.drltext.backend.server.DRLTextEditorServiceImplCDITest.testDSLCompinedWithPureDRL
*
org.drools.workbench.screens.drltext.backend.server.DRLTextEditorServiceImplCDITest.testDRLFileWithGlobalVariable
*
org.drools.workbench.screens.drltext.backend.server.DRLTextEditorServiceImplCDITest.testDRLFileWithExplicitNonExistingImport
*
org.drools.workbench.screens.drltext.backend.server.DRLTextEditorServiceImplCDITest.testDRLFileWithExplicitImport
*
org.drools.workbench.screens.drltext.backend.server.DRLTextEditorServiceImplCDITest.testValidDRLFileWithTwoRules
*
org.drools.workbench.screens.drltext.backend.server.DRLTextEditorServiceImplCDITest.testValidDRLFile
*
org.drools.workbench.screens.drltext.backend.server.DRLTextEditorServiceImplCDITest.testDRLFileWithUnknownGlobalVariable
*
org.drools.workbench.screens.drltext.backend.server.DRLTextEditorServiceImplCDITest.testDRLFileWrongConstructor
*
org.drools.workbench.screens.guided.dtable.backend.server.GuidedDecisionTableEditorServiceImplCDITest.testFunctionFromDrl
*
org.drools.workbench.screens.guided.rule.backend.server.GuidedRuleEditorServiceImplCDITest.testAbbreviatedCondition
*
org.drools.workbench.screens.guided.rule.backend.server.GuidedRuleEditorServiceImplCDITest.testValidateRuleThatInherit
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)