Openbravo Issue Tracking System - Retail Modules
View Issue Details
0022346Retail ModulesWeb POSpublic2012-11-19 17:262013-01-25 13:44
migueldejuana 
guilleaer 
normalmajoralways
closedfixed 
5
 
RMP19RMP19 
migueldejuana
No
0022346: Delete an Undo products doesn't work well
Delete an Undo products doesn't work well. See steps to reproduce.
- Add 3 diferents product. (Adhesive body warming, Alpine skiing backpack 27L, Baby carrier)
- Delete the second product. (Alpine skiing backpack 27L)
- Undo.
- Now, the product (Alpine skiing backpack 27L) is the last in the list, no the second in the list.
- Try to delete the product again (Alpine skiing backpack 27L, now is the last in the list)
- As you can see, it has been an error, the selected product (Alpine skiing backpack 27L) is still in the list but the second product (Baby carrier) has been deleted.
- If we try to Undo, we will Undo wrong product (Alpine skiing backpack 27L) instead of deleted product (Baby carrier).
No tags attached.
Issue History
2012-11-19 17:26migueldejuanaNew Issue
2012-11-19 17:26migueldejuanaAssigned To => adrianromero
2012-12-05 20:04adrianromeroStatusnew => scheduled
2012-12-05 20:04adrianromeroTarget Version => RMP18
2012-12-20 13:46adrianromeroNote Added: 0055118
2012-12-20 13:46adrianromeroStatusscheduled => closed
2012-12-20 13:46adrianromeroResolutionopen => unable to reproduce
2012-12-21 00:41migueldejuanaNote Added: 0055143
2012-12-21 00:41migueldejuanaStatusclosed => new
2012-12-21 00:41migueldejuanaResolutionunable to reproduce => open
2012-12-27 14:52guilleaerTarget VersionRMP18 => RMP19
2013-01-09 10:41marvintmAssigned Toadrianromero => guilleaer
2013-01-09 12:36hgbotCheckin
2013-01-09 12:36hgbotNote Added: 0055419
2013-01-09 12:36hgbotStatusnew => resolved
2013-01-09 12:36hgbotResolutionopen => fixed
2013-01-09 12:36hgbotFixed in SCM revision => http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/933e00f8a1b736772c5425a2df86569c574dc218 [^]
2013-01-25 13:44migueldejuanaReview Assigned To => migueldejuana
2013-01-25 13:44migueldejuanaNote Added: 0055863
2013-01-25 13:44migueldejuanaStatusresolved => closed
2013-01-25 13:44migueldejuanaFixed in Version => RMP19

Notes
(0055118)
adrianromero   
2012-12-20 13:46   
It cannot be reproduced in live builds. It works as expected

*Delete 2nd product in the list
*Undo -> the product appears the 2nd of the list
*Delete again -> the product is properly deleted
(0055143)
migueldejuana   
2012-12-21 00:41   
- Add 3 diferents product. (Adhesive body warming, Alpine skiing backpack 27L, Baby carrier)
- Delete the first product. (Adhesive body warming)
- Undo.
- Now, the product (Adhesive body warming) is the last in the list, no the first in the list.
- Try to delete the product again (Adhesive body warming, now is the last in the list)
- As you can see, it has been an error, the selected product (Adhesive body warming) is still in the list but the first product (Alpine skiing backpack 27L) has been deleted.
- If we try to Undo, we will Undo wrong product (Adhesive body warming) instead of deleted product (Alpine skiing backpack 27L).
(0055419)
hgbot   
2013-01-09 12:36   
Repository: erp/pmods/org.openbravo.retail.posterminal
Changeset: 933e00f8a1b736772c5425a2df86569c574dc218
Author: Guillermo Alvarez de Eulate <guillermo.alvarez <at> openbravo.com>
Date: Wed Jan 09 12:35:36 2013 +0100
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/933e00f8a1b736772c5425a2df86569c574dc218 [^]

fixed issue 22346: A model is added to position 0 when index is 0.

---
M web/org.openbravo.retail.posterminal/js/components/scrollabletable.js
---
(0055863)
migueldejuana   
2013-01-25 13:44   
Tested and reviewed in f1bfcee9e168