[jboss-jira] [JBoss JIRA] (DROOLS-4503) "Error" popup report java literal for suggested number

Gabriele Cardosi (Jira) issues at jboss.org
Wed Sep 4 03:18:00 EDT 2019


     [ https://issues.jboss.org/browse/DROOLS-4503?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Gabriele Cardosi updated DROOLS-4503:
-------------------------------------
    Description: 
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'."

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.
This is a little bit inconsistent and confusing, especially for someone not knowing java.



  was:
When the expected value for a filed is a java long, the error popup reports

"The expected value is '2' but the actual one is '3L'."

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.
This is a little bit inconsistent and confusing, especially for someone not knowing java.





> "Error" popup report java literal for suggested number
> ------------------------------------------------------
>
>                 Key: DROOLS-4503
>                 URL: https://issues.jboss.org/browse/DROOLS-4503
>             Project: Drools
>          Issue Type: Bug
>            Reporter: Gabriele Cardosi
>            Assignee: Yeser Amer
>            Priority: Minor
>         Attachments: ErrorPopup.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'."
> 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.
> This is a little bit inconsistent and confusing, especially for someone not knowing java.



--
This message was sent by Atlassian Jira
(v7.13.5#713005)


More information about the jboss-jira mailing list