Openbravo Issue Tracking System - POS2
View Issue Details
0055335POS2POSpublic2024-04-26 10:432025-03-25 13:56
asier_perez 
ranjith_qualiantech_com 
normalminoralways
closedfixed 
5
 
 
approved
No
No
0055335: [24Q2] Gift card identifier can be 1-2 characters long, but the minimum of characters to search for existing gift card is 3
It is possible to create a gift card with an identifier that is one or two characters long. However, when searching for existing gift cards, the minimum of characters is three, so it is not possible to find gift cards of one character.
1) Log into POS2
2) Search for gift card and select a gift card product
3) Fill the identifier field with one character
4) Fill the initial balance field
5) Click Finish
6) Click Pay, select Card, and then Done
7) Go to the left menu bar and find Gift Cards / Credit Notes / Gift Certificates
8) Search for the identifier of the gift card => It will as you to type at least three characters
No tags attached.
has duplicate defect 0056757 closed Retail [24Q4] It is possible to create a gift card instance with an id of less than three characters while it is not possible to use it 
png giftcardid.png (15,259) 2024-04-26 10:43
https://issues.openbravo.com/file_download.php?file_id=19719&type=bug
png
Issue History
2024-04-26 10:43asier_perezNew Issue
2024-04-26 10:43asier_perezAssigned To => Retail
2024-04-26 10:43asier_perezFile Added: giftcardid.png
2024-04-26 10:43asier_perezOBNetwork customer => No
2024-04-26 10:43asier_perezTriggers an Emergency Pack => No
2024-04-26 11:34asier_perezSummary[24Q2] Gift card identifier can be one character long, but the minimum of characters to search for existing gift card is 2 => [24Q2] Gift card identifier can be 1-2 characters long, but the minimum of characters to search for existing gift card is 3
2024-04-26 11:34asier_perezDescription Updatedbug_revision_view_page.php?rev_id=27893#r27893
2024-04-26 11:34asier_perezSteps to Reproduce Updatedbug_revision_view_page.php?rev_id=27895#r27895
2024-05-06 16:52lorenzofidalgoTarget Version => 24Q2
2024-05-07 16:53lorenzofidalgoTarget Version24Q2 =>
2024-10-15 10:52asier_perezRelationship addedhas duplicate 0056757
2025-02-03 09:55ranjith_qualiantech_comAssigned ToRetail => ranjith_qualiantech_com
2025-02-03 10:59ranjith_qualiantech_comAssigned Toranjith_qualiantech_com => Retail
2025-02-24 07:40ranjith_qualiantech_comAssigned ToRetail => ranjith_qualiantech_com
2025-02-25 06:39ranjith_qualiantech_comStatusnew => scheduled
2025-03-05 07:28hgbotMerge Request Status => open
2025-03-05 07:28hgbotNote Added: 0176456
2025-03-25 13:55hgbotMerge Request Statusopen => approved
2025-03-25 13:56hgbotResolutionopen => fixed
2025-03-25 13:56hgbotStatusscheduled => closed
2025-03-25 13:56hgbotNote Added: 0177237
2025-03-25 13:56hgbotNote Added: 0177238

Notes
(0176456)
hgbot   
2025-03-05 07:28   
Merge Request created: https://gitlab.com/orisha-group/bu-commerce/openbravo/product/pmods/org.openbravo.retail.giftcards/-/merge_requests/439 [^]
(0177237)
hgbot   
2025-03-25 13:56   
Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/orisha-group/bu-commerce/openbravo/product/pmods/org.openbravo.retail.giftcards [^]
Changeset: d869e726acab5f386c8528129cff61c31c248e28
Author: Ranjith S R <r.rangaraju@external.orisha.com>
Date: 25-03-2025 12:56:21
URL: https://gitlab.com/orisha-group/bu-commerce/openbravo/product/pmods/org.openbravo.retail.giftcards/-/commit/d869e726acab5f386c8528129cff61c31c248e28 [^]

Fixed ISSUE-55335: Giftcard identifier length should be minimum of 3 characters

---
A build/classes/org/openbravo/retail/giftcards/modulescript/FixDataIssue55335.class
A src-util/modulescript/src/org/openbravo/retail/giftcards/modulescript/FixDataIssue55335.java
M src-db/database/sourcedata/AD_MESSAGE.xml
M src/org/openbravo/retail/giftcards/event/GCNVGiftCardInstEventHandler.java
M web-jspack/org.openbravo.retail.giftcards/src/components/GiftCardSale/GiftCardSale.jsx
M web-jspack/org.openbravo.retail.giftcards/src/configurations/giftCard-configuration/GiftCardConfiguration.js
M web-jspack/org.openbravo.retail.giftcards/src/configurations/giftCard-configuration/__test__/GiftCardConfiguration.test.jsx
---
(0177238)
hgbot   
2025-03-25 13:56   
Merge request merged: https://gitlab.com/orisha-group/bu-commerce/openbravo/product/pmods/org.openbravo.retail.giftcards/-/merge_requests/439 [^]