]
Yeser Amer updated DROOLS-4503:
-------------------------------
Story Points: 1
"Error" popup report java literal for suggested number
------------------------------------------------------
Key: DROOLS-4503
URL:
https://issues.jboss.org/browse/DROOLS-4503
Project: Drools
Issue Type: Bug
Components: Scenario Simulation and Testing
Reporter: Gabriele Cardosi
Assignee: Yeser Amer
Priority: Major
Attachments: ErrorPopup.png, FollowError.png, InsertedValue.png
When the expected value for a field is a java long, the error popup reports
"The expected value is '2' but the actual one is '3L'."
!ErrorPopup.png|thumbnail!
That means the java literal is used for the suggested (correct) value, while the inserted
value as-is is shown as the one to correct. _Of course it is possible that this apply to
all types whose java literal representation is different then "absolute"
value._
This is a little bit inconsistent and confusing, especially for someone not knowing
java.
The worst consequence is that when user click "Apply", that literal is put
inside the cell,
!InsertedValue.png|thumbnail!
and when sent to server it raise error (because server is expecting a number, not a
string)
!FollowError.png|thumbnail!