Openbravo Issue Tracking System - Retail Modules
View Issue Details
0029316Retail ModulesGift cards and gift voucherspublic2015-03-17 14:012015-03-18 07:52
migueldejuana 
migueldejuana 
normalmajoralways
closedfixed 
5
 
 
adrianromero
Production - QA Approved
2015-02-27
RR15Q1.1
https://code.openbravo.com/erp/pmods/org.openbravo.retail.giftcards/rev/c3cea0bef743 [^]
No
0029316: Editing Description of a Gift Card always give duplicated id error
When we are editing properties of a giftcard it always show Duplicated Id error because it checks if any giftcard inside the order have this Id, but it doesn't discard itself, so always find a giftcard with same id.
- Login
- Add a gift card with Id = 123
- Select line
- Press Description button in edit panel
- A porperties popup is open, press apply.
- ERROR: Duplicate id message
No tags attached.
Issue History
2015-03-17 14:01migueldejuanaNew Issue
2015-03-17 14:01migueldejuanaAssigned To => migueldejuana
2015-03-17 14:01migueldejuanaTriggers an Emergency Pack => No
2015-03-17 14:08hgbotCheckin
2015-03-17 14:08hgbotNote Added: 0075688
2015-03-17 14:08hgbotStatusnew => resolved
2015-03-17 14:08hgbotResolutionopen => fixed
2015-03-17 14:08hgbotFixed in SCM revision => http://code.openbravo.com/erp/pmods/org.openbravo.retail.giftcards/rev/ed1131c960ac40b9685f840fc2724416de799856 [^]
2015-03-17 16:05adrianromeroReview Assigned To => adrianromero
2015-03-17 16:05adrianromeroNote Added: 0075691
2015-03-17 16:05adrianromeroStatusresolved => closed
2015-03-18 07:45migueldejuanaRegression level => Production - QA Approved
2015-03-18 07:45migueldejuanaRegression date => 2015-02-27
2015-03-18 07:45migueldejuanaRegression introduced by commit => https://code.openbravo.com/erp/pmods/org.openbravo.retail.giftcards/rev/c3cea0bef743 [^]
2015-03-18 07:52migueldejuanaRegression introduced in release => RR15Q1.1

Notes
(0075688)
hgbot   
2015-03-17 14:08   
Repository: erp/pmods/org.openbravo.retail.giftcards
Changeset: ed1131c960ac40b9685f840fc2724416de799856
Author: Miguel de Juana <miguel.dejuana <at> openbravo.com>
Date: Tue Mar 17 14:06:13 2015 +0100
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.giftcards/rev/ed1131c960ac40b9685f840fc2724416de799856 [^]

Fixed issue 0029316: Editing Description of a Gift Card always give duplicated id error

Checking if we have a duplicated id inside same order, we need to discard editing giftcard.

---
M web/org.openbravo.retail.giftcards/js/components/lineproperties.js
---
(0075691)
adrianromero   
2015-03-17 16:05   
Verified