Openbravo Issue Tracking System - POS2
View Issue Details
0055314POS2POSpublic2024-04-25 12:192024-05-17 12:31
ucarrion 
Rajesh_18 
urgentmajoralways
closedfixed 
5
 
24Q2 
No
0055314: Unexpected error while trying to refund a gift card with a non admin role
I get an unexpected error while trying to refund a gift card with a non admin role. Attached the description.

"org.openbravo.base.exception.OBException"

https://toysrus-dev.cloud.openbravo.com/openbravo/org.openbravo.mobile.core.service.jsonrest/org.openbravo.retail.giftcards.CancelGiftCard?$timeout=15000 [^]
-Login the POS with a store role.
-Scan or select any gift card (based on product) whose status is New/Partial.
-Press refund.
-In the popup, insert any value.
-The error is reproduced.
No tags attached.
depends on backport 005533024Q2 closed Rajesh_18 Unexpected error while trying to refund a gift card with a non admin role 
png giftCardRefundError.png (140,041) 2024-04-25 12:19
https://issues.openbravo.com/file_download.php?file_id=19705&type=bug
png
Issue History
2024-04-25 12:19ucarrionNew Issue
2024-04-25 12:19ucarrionAssigned To => Retail
2024-04-25 12:19ucarrionFile Added: giftCardRefundError.png
2024-04-25 12:19ucarrionTriggers an Emergency Pack => No
2024-04-26 00:02guilleaerTarget Version24Q2 =>
2024-04-26 00:02guilleaerStatusnew => acknowledged
2024-04-26 00:02guilleaerStatusacknowledged => scheduled
2024-04-26 00:02guilleaerStatusscheduled => acknowledged
2024-04-26 09:09Rajesh_18Assigned ToRetail => Rajesh_18
2024-04-26 09:09Rajesh_18Statusacknowledged => scheduled
2024-04-30 06:32hgbotNote Added: 0163919
2024-05-07 16:18lorenzofidalgoTarget Version => 24Q2
2024-05-08 17:44hgbotResolutionopen => fixed
2024-05-08 17:44hgbotStatusscheduled => closed
2024-05-08 17:44hgbotNote Added: 0164339
2024-05-08 17:44hgbotNote Added: 0164340
2024-05-15 22:02guilleaerNote Added: 0164697
2024-05-15 22:04hgbotNote Added: 0164698
2024-05-15 22:08guilleaerNote Deleted: 0164698
2024-05-16 15:35hgbotNote Added: 0164720
2024-05-17 12:31hgbotNote Added: 0164743
2024-05-17 12:31hgbotNote Added: 0164744

Notes
(0163919)
hgbot   
2024-04-30 06:32   
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.giftcards/-/merge_requests/321 [^]
(0164339)
hgbot   
2024-05-08 17:44   
Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.giftcards [^]
Changeset: 900bbc3f5639d7a13e52a637015886150c71db58
Author: Rajesh Senthilkumar <rajesh@qualiantech.com>
Date: 08-05-2024 15:43:03
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.giftcards/-/commit/900bbc3f5639d7a13e52a637015886150c71db58 [^]

Fixed ISSUE-55314: Defined set admin mode for refund gift card

---
M src/org/openbravo/retail/giftcards/CloseGiftCard.java
---
(0164340)
hgbot   
2024-05-08 17:44   
Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.giftcards/-/merge_requests/321 [^]
(0164697)
guilleaer   
2024-05-15 22:02   
Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.giftcards [^] [^]
Changeset: 63bc3e52013a4cea39abb68aa123ec34fc4f5d9a
Author: Guillermo Alvarez de Eulate <guillermo.alvarez@openbravo.com>
Date: 15-05-2024 16:00:55
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.giftcards/-/commit/63bc3e52013a4cea39abb68aa123ec34fc4f5d9a [^] [^]

related to ISSUE-55314: pass true as argument to setAdminMode

---
M src/org/openbravo/retail/giftcards/CloseGiftCard.java
---
(0164720)
hgbot   
2024-05-16 15:35   
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.giftcards/-/merge_requests/336 [^]
(0164743)
hgbot   
2024-05-17 12:31   
Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.giftcards/-/merge_requests/336 [^]
(0164744)
hgbot   
2024-05-17 12:31   
Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.giftcards [^]
Changeset: 74de4662ec3ce43b6e4d188c73c459e1777cc5bc
Author: Rajesh Senthilkumar <rajesh@qualiantech.com>
Date: 17-05-2024 09:08:26
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.giftcards/-/commit/74de4662ec3ce43b6e4d188c73c459e1777cc5bc [^]

Related to ISSUE-55314: Defined set admin mode for refund gift card product

---
M src/org/openbravo/retail/giftcards/CancelGiftCard.java
M src/org/openbravo/retail/giftcards/CancelGiftCardTransaction.java
---