Bug 1318554 - [GSS] [RFE] request to improve error message when rule name is duplicated in spread sheet
Summary: [GSS] [RFE] request to improve error message when rule name is duplicated in ...
Keywords:
Status: CLOSED EOL
Alias: None
Product: JBoss BPMS Platform 6
Classification: Retired
Component: Business Central
Version: 6.2.0
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: ---
: ---
Assignee: Mario Fusco
QA Contact: Lukáš Petrovický
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-03-17 08:49 UTC by Hiroko Miura
Modified: 2020-03-27 19:06 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2020-03-27 19:06:53 UTC
Type: Feature Request


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker GUVNOR-2468 0 Major Open improve error message when rule name is duplicated in spread sheet 2016-03-17 09:03:57 UTC

Description Hiroko Miura 2016-03-17 08:49:01 UTC
Description of problem:


Customer has many decision tables(XLS) with many rules in their project.
When uploading new/modified decision tables, sometimes conflict with rule name with existing one by mistake and then incremental build fails with the following error.

15:05:29,461 ERROR [org.drools.compiler.kie.builder.impl.AbstractKieModule] (EJB default - 5) Unable to build KieBaseModel:defaultKieBase
[5,0]: Duplicate rule name: HelloWorld_11
[15,0]: Duplicate rule name: HelloWorld_12

According to message shown in business central, user can know which xls file has this duplicate rule name but hard to know the other file which conflicts with this file.
Customer requested to improve this error message by reporting the file name which conflicts the rule name.


Version-Release number of selected component (if applicable):
6.2.x


How reproducible:

upload multiple spreadsheet(XLS) which has duplicate rule name. 

Steps to Reproduce:
1. upload Sample.xls
2. upload Sample.xls as a different name
3.

Actual results:

the following error is logged in server.log and similar message is shown in business central as well.

15:05:29,461 ERROR [org.drools.compiler.kie.builder.impl.AbstractKieModule] (EJB default - 5) Unable to build KieBaseModel:defaultKieBase
[5,0]: Duplicate rule name: HelloWorld_11
[15,0]: Duplicate rule name: HelloWorld_12


Expected results:

Please kindly report exact asset name which has duplicate rule name.


Additional info:


Note You need to log in before you can comment on or make changes to this bug.