Openbravo Issue Tracking System - Retail Modules
View Issue Details
0043348Retail ModulesGift cards and gift voucherspublic2020-02-26 17:082020-04-29 17:49
inaki_garcia 
Retail 
immediateminoralways
closedunable to reproduce 
5
main 
 
plujan
Packaging and release
No
0043348: [20Q1] [NewSkin] [UX] Setting incorrect values and applying in the Advanced Filters shows invalid error message in popup
When searching for a Gift Card to be used as payment method, filtering with invalid values in the "Advanced Filters" popup and applying makes a popup alerting on this, but
the message that it contains is incorrect.

This issue is a potential regression introduced by the skinnable POS project / new skin.

Incorrect value checking seems that is being done, as gathered from the error message that appears in the developers console:
serviceSuccess error: status: -1, error.message: Character q is neither a decimal digit number, decimal point, nor "e" notation exponential mark.; line: serviceSuccess (https://<domain>/<context>/web/js/gen/ae73f23c09bbbaa886a1661409be3cfe.js:99:37 [^]) (*,+)

Check the attached screenshot that depicts the popup that appears with an invalid error message.
PRECONDITION: the "Gift Cards and Vouchers" module must be installed, and a Gift Card configured with no expiry date in the backend

0. Log in the POS as user "vallblanca"
1. Search the Gift Card created in the template and add it to the ticket
2. Pay it
3. Add some other items to the ticket, and click on the 'total' button
4. Select the "Gift Card" payment method, and click on "Pay Total". A popup titled "Gift Card:<ticket amount>" will appear
5. Click on the "* Advanced Filter" button
NOTICE that an error or notification popup appears, but with an invalid / meaningless message
No tags attached.
png giftcard-incorrect-filtering-invalid-error.png (419,167) 2020-02-26 17:08
https://issues.openbravo.com/file_download.php?file_id=14096&type=bug
Issue History
2020-02-26 17:08inaki_garciaNew Issue
2020-02-26 17:08inaki_garciaAssigned To => Retail
2020-02-26 17:08inaki_garciaFile Added: giftcard-incorrect-filtering-invalid-error.png
2020-02-26 17:08inaki_garciaTriggers an Emergency Pack => No
2020-02-26 17:08inaki_garciaIssue generated from0043010
2020-02-26 17:17inaki_garciaRegression level => Packaging and release
2020-04-29 11:59prakashmurugesan88Note Added: 0119493
2020-04-29 11:59prakashmurugesan88Statusnew => closed
2020-04-29 17:49inaki_garciaReview Assigned To => plujan
2020-04-29 17:49inaki_garciaResolutionopen => unable to reproduce

Notes
(0119493)
prakashmurugesan88   
2020-04-29 11:59   
Unable to reproduce