Anonymous | Login
Project:
RSS
  
News | My View | View Issues | Roadmap | Summary

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0027207
TypeCategorySeverityReproducibilityDate SubmittedLast Update
design defect[Retail Modules] Gift cards and gift vouchersmajoralways2014-07-25 23:582015-03-02 12:51
ReporterjecharriView Statuspublic 
Assigned Tonaiaramartinez 
PriorityurgentResolutionfixedFixed in Version
StatusclosedFix in branchpiFixed in SCM revisionc3cea0bef743
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Review Assigned Tomigueldejuana
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0027207: Gift cards allow to create gift cards with the same id

DescriptionGift 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 SolutionFind attached file with the proposed solution
TagsNo tags attached.
Attached Filesdiff file icon 27207_IDValidation.diff [^] (10,910 bytes) 2014-11-10 10:00 [Show Content]

- Relationships Relation Graph ] Dependency Graph ]
related to defect 0029098 newmarvintm If you open a popup while you are in another popup the second one appears behind the first 
causes defect 0032246 closedOrekaria [GiftCards] Unbalanced calls to setAdminMode and restorePreviousMode 

-  Notes
(0074541)
hgbot (developer)
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
---
(0074727)
migueldejuana (developer)
2015-02-20 13:41

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 (developer)
2015-02-27 09:10

Repository: erp/pmods/org.openbravo.retail.giftcards
Changeset: c3cea0bef74321ce5eb8a1e541fd9af4c69b7133
Author: Naiara Martinez <naiara.martinez <at> openbravo.com>
Date: Fri Feb 27 09:09:44 2015 +0100
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.giftcards/rev/c3cea0bef74321ce5eb8a1e541fd9af4c69b7133 [^]

Fixed issue 27207: Add a validation to check if the same id exists in the current order.

---
M web/org.openbravo.retail.giftcards/js/components/lineproperties.js
---
(0075060)
migueldejuana (developer)
2015-03-02 10:10

The first time we try to add a duplicated id gift card, Apply button do nothing.

- Add a gift card with Id = 1
- Try adding another gift card with Id = 1
- Push Apply
ERROR: It do nothing, this line doesn't show the popup:
https://code.openbravo.com/erp/pmods/org.openbravo.retail.giftcards/rev/c3cea0bef74321ce5eb8a1e541fd9af4c69b7133#l1.13 [^]
You need to push again apply button

- 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 View Revisions
2014-07-26 00:11 jecharri Steps to Reproduce Updated View Revisions
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


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker