Openbravo Issue Tracking System - Retail Modules
View Issue Details
0029598Retail ModulesGift cards and gift voucherspublic2015-04-15 15:382016-01-18 11:50
plujan 
Retail 
normalminorhave not tried
newopen 
5
 
 
No
0029598: [RR15Q2] It is possible to add Gif Cards with no ID to a receipt
While following the standard flow, adding a Gift Card to a receipt requires entering an ID value for future reference. However, this mandatory step can be bypassed by abusing the slow response time of the application.
<<Note>>: You will find this steps explained in this video http://goo.gl/dQFzGd [^]

==Scenario 1 (expected behaviour)==
1. On a context with Gift cards already configured properly, create a receipt and add a single Gift card.
2. Check that the pop up "Line-item properties" is shown.
3. If no ID is filled, Apply button does not allow to continue. Even the line has been actually added into the receipt, if you click cancel the line is removed
==Scenario 2 (wrong behaviour)==
4. On the "Browse" tab click the Gift Card item as quickly as possible.
5. Several gift cards are added and just at the end of the burst clicking the pop up is shown, affecting only the last item.
6. Finish the receipt by paying it.
7. Go to top left menu and seek by present Gift Cards. Note that all the added gift cards are there available for use and that a generated ID was set for every one.
No tags attached.
Issue History
2015-04-15 15:38plujanNew Issue
2015-04-15 15:38plujanAssigned To => Retail
2015-04-15 15:38plujanTriggers an Emergency Pack => No
2015-04-15 15:58plujanSummaryIt is possible to add Gif Cards with no ID to a receipt => [RR15Q2] It is possible to add Gif Cards with no ID to a receipt
2015-08-04 12:12lorenzofidalgoNote Added: 0079177
2016-01-18 11:50lorenzofidalgoNote Added: 0083365

Notes
(0079177)
lorenzofidalgo   
2015-08-04 12:12   
This is still reproducible in RR15Q3
(0083365)
lorenzofidalgo   
2016-01-18 11:50   
This issue is still reproducible in RR16Q1. Besides, the ID of the just created Gift Cards (or Gift Vouchers) is a hexadecimal auto-generated ID like this one: "5FB0E8650CFA4B38AA89DA3036101B36"