[ 
https://issues.apache.org/jira/browse/JEXL-293?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16802824#comment-16802824
 ] 

Sharon Ben Asher edited comment on JEXL-293 at 3/27/19 2:11 PM:
----------------------------------------------------------------

Our application accepts String containing user-defined arithmetic expression 
and needs to validate and evaluate it. My QA has opened a bug report saying my 
solution does not accept valid arithmetic expressions that our customers may 
enter. I do not believe that "narrow functional value" is sufficient reason to 
close the ticket, nor would it be acceptable by our Product or Support 
managers. 

Simply put: a valid arithmetic expression that produces an error is a major 
bug. It is not far fetched to say it should be critical. 

PS, Although the Language Elements page mentions only the unary minus operator, 
*it does not explicitly specifies that unary plus is invalid*. Something that 
devs may easily overlook when evaluating whether or not to use this library (as 
I have done)

 


was (Author: sharonbn):
Our application accepts String containing user-defined arithmetic expression 
and needs to validate and evaluate it. My QA has opened a bug report saying my 
solution does not accept valid arithmetic expressions that our customers may 
enter. I do not believe that "narrow functional value" is sufficient reason to 
close the ticket, nor would it be acceptable by our Product or Support 
managers. 

Simply put: a valid arithmetic expression that produces an error is a major 
bug. It is not far fetched to say it should be critical. 

 

> leading plus sign not recognized
> --------------------------------
>
>                 Key: JEXL-293
>                 URL: https://issues.apache.org/jira/browse/JEXL-293
>             Project: Commons JEXL
>          Issue Type: Bug
>    Affects Versions: 3.1
>            Reporter: Sharon Ben Asher
>            Assignee: Henri Biestro
>            Priority: Major
>
> The expression "+2" is not valid ?



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to