Openbravo Issue Tracking System - POS2
View Issue Details
0055330POS2POSpublic2024-04-25 12:192024-05-17 11:06
ucarrion 
Rajesh_18 
urgentmajoralways
closedfixed 
5
 
24Q2 
No
0055330: 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.
blocks defect 005531424Q2 closed Rajesh_18 Unexpected error while trying to refund a gift card with a non admin role 
Issue History
2024-04-26 00:02guilleaerTypedefect => backport
2024-04-26 00:02guilleaerTarget Version => 24Q2
2024-04-26 00:02guilleaerStatusscheduled => acknowledged
2024-04-26 10:08Rajesh_18Assigned ToRetail => Rajesh_18
2024-04-26 10:08Rajesh_18Statusacknowledged => scheduled
2024-05-08 17:34guilleaerRelationship addeddepends on 0054673
2024-05-08 17:39guilleaerRelationship deleteddepends on 0054673
2024-05-08 18:57hgbotNote Added: 0164343
2024-05-09 08:29hgbotResolutionopen => fixed
2024-05-09 08:29hgbotStatusscheduled => closed
2024-05-09 08:29hgbotNote Added: 0164352
2024-05-09 08:29hgbotNote Added: 0164353
2024-05-15 16:01hgbotNote Added: 0164679
2024-05-15 22:01guilleaerNote Deleted: 0164679
2024-05-15 22:08guilleaerNote Added: 0164699
2024-05-16 15:20hgbotNote Added: 0164717
2024-05-16 15:28hgbotNote Added: 0164718
2024-05-16 15:31hgbotNote Added: 0164719
2024-05-17 11:06hgbotNote Added: 0164740
2024-05-17 11:06hgbotNote Added: 0164741

Notes
(0164343)
hgbot   
2024-05-08 18:57   
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.giftcards/-/merge_requests/332 [^]
(0164352)
hgbot   
2024-05-09 08:29   
Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.giftcards [^]
Changeset: b614d671578a883c7897c09e5832e87a0d027ab9
Author: Rajesh Senthilkumar <rajesh@qualiantech.com>
Date: 08-05-2024 22:20:13
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.giftcards/-/commit/b614d671578a883c7897c09e5832e87a0d027ab9 [^]

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

---
M src/org/openbravo/retail/giftcards/CloseGiftCard.java
---
(0164353)
hgbot   
2024-05-09 08:29   
Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.giftcards/-/merge_requests/332 [^]
(0164699)
guilleaer   
2024-05-15 22:08   
Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.giftcards [^] [^]
Changeset: 65303b6bb7d3543904f648f628ddbde931c04206
Author: Guillermo Alvarez de Eulate <guillermo.alvarez@openbravo.com>
Date: 15-05-2024 22:00:35
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.giftcards/-/commit/65303b6bb7d3543904f648f628ddbde931c04206 [^] [^]

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

---
M src/org/openbravo/retail/giftcards/CloseGiftCard.java
---
(0164717)
hgbot   
2024-05-16 15:20   
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.giftcards/-/merge_requests/334 [^]
(0164718)
hgbot   
2024-05-16 15:28   
Merge request closed: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.giftcards/-/merge_requests/334 [^]
(0164719)
hgbot   
2024-05-16 15:31   
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.giftcards/-/merge_requests/335 [^]
(0164740)
hgbot   
2024-05-17 11:06   
Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.giftcards [^]
Changeset: 25d3a4e7f400b5f7d318f6cfc00eb64066f73edf
Author: Rajesh Senthilkumar <rajesh@qualiantech.com>
Date: 17-05-2024 14:08:33
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.giftcards/-/commit/25d3a4e7f400b5f7d318f6cfc00eb64066f73edf [^]

Related to ISSUE-55330: 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
---
(0164741)
hgbot   
2024-05-17 11:06   
Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.giftcards/-/merge_requests/335 [^]