Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
ID | ||||||||
0051791 | ||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||
defect | [Retail Modules] Gift cards and gift vouchers | major | always | 2023-03-07 13:23 | 2023-04-04 07:53 | |||
Reporter | sofidossant | View Status | public | |||||
Assigned To | ranjith_qualiantech_com | |||||||
Priority | high | Resolution | fixed | Fixed in Version | ||||
Status | closed | Fix in branch | Fixed in SCM revision | |||||
Projection | none | ETA | none | Target Version | ||||
OS | Any | Database | Any | Java version | ||||
OS Version | Database version | Ant version | ||||||
Product Version | SCM revision | |||||||
Review Assigned To | guillermogil | |||||||
Regression level | ||||||||
Regression date | ||||||||
Regression introduced in release | ||||||||
Regression introduced by commit | ||||||||
Triggers an Emergency Pack | No | |||||||
Summary | 0051791: Error in the creation of Gift Cards | |||||||
Description | When 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 Solution | Attached diff | |||||||
Tags | No tags attached. | |||||||
Attached Files | giftCardCertificate.diff [^] (438 bytes) 2023-03-07 13:23 [Show Content] | |||||||
Relationships [ Relation Graph ] [ Dependency Graph ] | ||||||||
|
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 |