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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0051791
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Retail Modules] Gift cards and gift vouchersmajoralways2023-03-07 13:232023-04-04 07:53
ReportersofidossantView Statuspublic 
Assigned Toranjith_qualiantech_com 
PriorityhighResolutionfixedFixed in Version
StatusclosedFix in branchFixed in SCM revision
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Review Assigned Toguillermogil
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0051791: Error in the creation of Gift Cards

DescriptionWhen we create a gift card with a user who does not have Admin permission,
Steps To Reproduce- We open a POS.
- We login with a user that does not have Admin permissions.
- We try to create a Gift Certificate.
- We define Expiration Date and Amount.
- We click on "Apply".
- The data is sent to the server, returns the Gift Card number, the ticket is printed at the POS,
but there is an error on the server and it is not created in BackOffice...

*The GiftCardCertificate class creates all the data correctly but does not make any flush at the end of the process. The next class that does the flush, does not have the setAdminMode enabled and an error occurs.
Proposed SolutionAttached diff
TagsNo tags attached.
Attached Filesdiff file icon giftCardCertificate.diff [^] (438 bytes) 2023-03-07 13:23 [Show Content]

- Relationships Relation Graph ] Dependency Graph ]
related to feature request 0049511 closedadrianromero Gift cards push api and export improvements 

-  Notes
(0147526)
ranjith_qualiantech_com (developer)
2023-03-15 06:38

Problem mentioned in steps to reproduce is fixed in issue https://issues.openbravo.com/view.php?id=49511. [^] (By adding flush())
(0147527)
hgbot (developer)
2023-03-15 06:42

Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.giftcards/-/merge_requests/197 [^]
(0147718)
hgbot (developer)
2023-03-20 17:22

Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.giftcards [^]
Changeset: 87484384f280d98bf8ea3b51fd4426f357c4f4c0
Author: Ranjith S R <ranjith@qualiantech.com>
Date: 20-03-2023 17:20:36
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.giftcards/-/commit/87484384f280d98bf8ea3b51fd4426f357c4f4c0 [^]

Fixed ISSUE-51791: Session flush should be called after saving gift certificate
* Session flush should be called after saving gift certificate
  and updating giftcertificate sequence

---
M src/org/openbravo/retail/giftcards/GiftCardCertificate.java
---
(0147719)
hgbot (developer)
2023-03-20 17:22

Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.giftcards/-/merge_requests/197 [^]
(0148032)
sofidossant (developer)
2023-03-28 16:53

We applied the fix and the problem continue
(0148171)
guillermogil (manager)
2023-04-03 06:52

Unable to reproduce.
Awaiting feedback from reporter
(0148220)
guillermogil (manager)
2023-04-04 07:53

Proposed patch was added in here: https://issues.openbravo.com/view.php?id=49511 [^]

- Issue History
Date Modified Username Field Change
2023-03-07 13:23 sofidossant New Issue
2023-03-07 13:23 sofidossant Assigned To => Retail
2023-03-07 13:23 sofidossant File Added: giftCardCertificate.diff
2023-03-07 13:23 sofidossant Triggers an Emergency Pack => No
2023-03-07 13:37 Practics Issue Monitored: Practics
2023-03-14 13:06 ranjith_qualiantech_com Assigned To Retail => ranjith_qualiantech_com
2023-03-14 13:07 ranjith_qualiantech_com Status new => scheduled
2023-03-15 06:34 ranjith_qualiantech_com Relationship added related to 0049511
2023-03-15 06:38 ranjith_qualiantech_com Note Added: 0147526
2023-03-15 06:42 hgbot Note Added: 0147527
2023-03-20 17:22 hgbot Resolution open => fixed
2023-03-20 17:22 hgbot Status scheduled => closed
2023-03-20 17:22 hgbot Note Added: 0147718
2023-03-20 17:22 hgbot Note Added: 0147719
2023-03-28 16:53 sofidossant Status closed => new
2023-03-28 16:53 sofidossant Note Added: 0148032
2023-04-03 06:52 guillermogil Note Added: 0148171
2023-04-03 06:52 guillermogil Status new => feedback
2023-04-04 07:53 guillermogil Status feedback => scheduled
2023-04-04 07:53 guillermogil Status scheduled => resolved
2023-04-04 07:53 guillermogil Review Assigned To => guillermogil
2023-04-04 07:53 guillermogil Note Added: 0148220
2023-04-04 07:53 guillermogil Status resolved => closed


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker