Openbravo Issue Tracking System - Retail Modules |
View Issue Details |
|
ID | Project | Category | View Status | Date Submitted | Last Update |
0027207 | Retail Modules | Gift cards and gift vouchers | public | 2014-07-25 23:58 | 2015-03-02 12:51 |
|
Reporter | jecharri | |
Assigned To | naiaramartinez | |
Priority | urgent | Severity | major | Reproducibility | always |
Status | closed | Resolution | fixed | |
Platform | | OS | 5 | OS Version | |
Product Version | | |
Target Version | | Fixed in Version | | |
Merge Request Status | |
Review Assigned To | migueldejuana |
OBNetwork customer | |
Support ticket | |
Regression level | |
Regression date | |
Regression introduced in release | |
Regression introduced by commit | |
Triggers an Emergency Pack | No |
|
Summary | 0027207: Gift cards allow to create gift cards with the same id |
Description | Gift cards allow to create gift cards with the same id |
Steps To Reproduce | -Install gift cards and configure one product
-Go to Web POS and sale one gift card. Insert id "1234"
-Create a new ticket and verify that yo can create a gift card with same id
We should allow to create same id if the organization of the gift card is different, we should not allow to create a gift cards with same id in same organization. |
Proposed Solution | Find attached file with the proposed solution |
Additional Information | |
Tags | No tags attached. |
Relationships | related to | defect | 0029098 | | new | marvintm | If you open a popup while you are in another popup the second one appears behind the first | causes | defect | 0032246 | | closed | Orekaria | [GiftCards] Unbalanced calls to setAdminMode and restorePreviousMode |
|
Attached Files | 27207_IDValidation.diff (10,910) 2014-11-10 10:00 https://issues.openbravo.com/file_download.php?file_id=7491&type=bug |
|
Issue History |
Date Modified | Username | Field | Change |
2014-07-25 23:58 | jecharri | New Issue | |
2014-07-25 23:58 | jecharri | Assigned To | => marvintm |
2014-07-25 23:58 | jecharri | Resolution time | => 1408831200 |
2014-07-25 23:58 | jecharri | Triggers an Emergency Pack | => No |
2014-07-26 00:03 | jecharri | Steps to Reproduce Updated | bug_revision_view_page.php?rev_id=6182#r6182 |
2014-07-26 00:11 | jecharri | Steps to Reproduce Updated | bug_revision_view_page.php?rev_id=6183#r6183 |
2014-11-03 10:01 | naiaramartinez | Issue Monitored: naiaramartinez | |
2014-11-10 09:59 | naiaramartinez | Proposed Solution updated | |
2014-11-10 10:00 | naiaramartinez | File Added: 27207_IDValidation.diff | |
2015-02-17 09:52 | hgbot | Checkin | |
2015-02-17 09:52 | hgbot | Note Added: 0074541 | |
2015-02-17 09:52 | hgbot | Status | new => resolved |
2015-02-17 09:52 | hgbot | Resolution | open => fixed |
2015-02-17 09:52 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/pmods/org.openbravo.retail.giftcards/rev/e60443378ff1de0527b37829bd0684b532946fee [^] |
2015-02-19 08:29 | guillermogil | Review Assigned To | => marvintm |
2015-02-20 13:39 | migueldejuana | Assigned To | marvintm => guillermogil |
2015-02-20 13:41 | migueldejuana | Note Added: 0074727 | |
2015-02-20 13:41 | migueldejuana | Status | resolved => new |
2015-02-20 13:41 | migueldejuana | Resolution | fixed => open |
2015-02-27 09:07 | guillermogil | Issue Monitored: migueldejuana | |
2015-02-27 09:07 | guillermogil | Review Assigned To | marvintm => migueldejuana |
2015-02-27 09:07 | guillermogil | Assigned To | guillermogil => naiaramartinez |
2015-02-27 09:10 | hgbot | Checkin | |
2015-02-27 09:10 | hgbot | Note Added: 0075012 | |
2015-02-27 09:10 | hgbot | Status | new => resolved |
2015-02-27 09:10 | hgbot | Resolution | open => fixed |
2015-02-27 09:10 | hgbot | Fixed in SCM revision | http://code.openbravo.com/erp/pmods/org.openbravo.retail.giftcards/rev/e60443378ff1de0527b37829bd0684b532946fee [^] => http://code.openbravo.com/erp/pmods/org.openbravo.retail.giftcards/rev/c3cea0bef74321ce5eb8a1e541fd9af4c69b7133 [^] |
2015-03-02 10:10 | migueldejuana | Note Added: 0075060 | |
2015-03-02 10:10 | migueldejuana | Status | resolved => new |
2015-03-02 10:10 | migueldejuana | Resolution | fixed => open |
2015-03-02 12:40 | migueldejuana | Relationship added | related to 0029098 |
2015-03-02 12:51 | migueldejuana | Status | new => scheduled |
2015-03-02 12:51 | migueldejuana | fix_in_branch | => pi |
2015-03-02 12:51 | migueldejuana | Status | scheduled => resolved |
2015-03-02 12:51 | migueldejuana | Resolution | open => fixed |
2015-03-02 12:51 | migueldejuana | Status | resolved => closed |
2016-02-16 13:32 | Orekaria | Relationship added | causes 0032246 |
Notes |
|
(0074541)
|
hgbot
|
2015-02-17 09:52
|
|
Repository: erp/pmods/org.openbravo.retail.giftcards
Changeset: e60443378ff1de0527b37829bd0684b532946fee
Author: Guillermo Gil <guillermo.gil <at> openbravo.com>
Date: Tue Feb 17 09:52:38 2015 +0100
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.giftcards/rev/e60443378ff1de0527b37829bd0684b532946fee [^]
Fixed issue 27207:Gift cards allow to create gift cards with the same id
---
M src-db/database/sourcedata/AD_MESSAGE.xml
M src/org/openbravo/retail/giftcards/GCNVComponentProvider.java
M web/org.openbravo.retail.giftcards/js/components/lineproperties.js
A src/org/openbravo/retail/giftcards/CheckDuplicityOfID.java
A web/org.openbravo.retail.giftcards/js/preaddpaymenthook.js
---
|
|
|
|
If we try to add 2 gift cards with same ID in an order we get a bad behaviour.
-Add a gift card with ID=1
-Add another gift card with ID=1
-It do nothing, we should show a message "Invalid ID, already exist..." |
|
|
(0075012)
|
hgbot
|
2015-02-27 09:10
|
|
|
|
|
|