[LRA-282] The calculator portlet displays a wrong result when a number is typed and the user clicks on the (=) button or clicks on the button “Enter” in the keyboard. Created: 24/Aug/17  Updated: 02/Feb/18  Resolved: 01/Feb/18

Status: Closed
Project: Liferay Apps
Component/s: Calculator
Affects Version/s: None
Fix Version/s: None

Type: Bug Priority: Minor
Reporter: Juan Camacho [X] (Inactive) Assignee: mcalvo
Resolution: Fixed Votes: 0
Labels: Calculator
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment: Device: MacBook Pro
Google Chrome Version 60.0.3112.113 (Official Build) (64-bit)


 Description   
The calculator portlet displays a wrong result when a number is typed and the user clicks on the (=) button or clicks on the button “Enter” in the keyboard.

REPRODUCIBILITY LEVEL:
====================
Always

STEPS:
====================
Steps
1.Open the Liferay APP and add the Calculator portlet.
2. Type or click 10.
3.Click on the (=) bottom or clicks on the button “Enter” in the keyboard.


CURRENT RESULT:
====================
The calculator portlet is displaying a wrong result.
https://screencast.com/t/lq170fAt1

EXPECTED RESULT:
====================
The calculator portlet should display the correct result.(correct result for that operation is the same typed number.)


 Comments   
Comment by Leonardo Salazar [X] (Inactive) [ 02/Feb/18 ]
Tested
Generated at Sat Feb 10 05:49:57 GMT 2024 using Jira 8.1.3#801003-sha1:6b6f07cffadda9a0d6efe24639daed8ce94dcdd6.