Openbravo Issue Tracking System - POS2
View Issue Details
0055894POS2POSpublic2024-07-03 09:242024-08-14 12:07
gowthamveeramuthu 
SABARINATH P 
highminoralways
closedfixed 
5
 
24Q2 
No
0055894: validations & notification not working properly for "Show Notification Icon in Order Header *"
the notification icon is not showing properly for customers mail validation.

in CRM connector configuration window -> API property for customer -> email
we have configured the validations & notification.

but the icon is not showing when assigning the customer who is having wrong email.
i complete the order and click on "cancel and replace" this time it shows the icon.
i closed the order again click on "cancel and replace" for same order but this time the icon is not present but when i refresh the pos, it showing again.
livebuilds url:
https://livebuilds.openbravo.com/context/retail_pos2_modules_pgsql [^]

BO config:
in CRM connector configuration window -> API property for customer -> email
validation -> informative
validation type -> regular expression
validator expression -> ^[a-zA-Z0-9_.±]+@[a-zA-Z0-9-]+.[a-zA-Z0-9-.]+$
Show Notification Icon in Selector Results List * -> Wrong Format
Notification Icon in Selector Results List SeqNo -> 10
Show Notification Icon in Order Header * -> Wrong Format
Notification Icon in Order Header SeqNo -> 10

POS:
create one customer with wrong mail id
for example gowtham.com

assign this customer to order. you cannot see the icon.
then complete the order and click on "cancel and replace" this time it shows the icon.
i closed the order again click on "cancel and replace" for same order but this time the icon is not present but when i refresh the pos, it showing again.
 
when assign the customer, first time itself it should show the icon.
No tags attached.
png Screenshot 2024-07-03 at 12.37.04 PM.png (305,032) 2024-07-03 09:24
https://issues.openbravo.com/file_download.php?file_id=19971&type=bug
Issue History
2024-07-03 09:24gowthamveeramuthuNew Issue
2024-07-03 09:24gowthamveeramuthuAssigned To => Retail
2024-07-03 09:24gowthamveeramuthuFile Added: Screenshot 2024-07-03 at 12.37.04 PM.png
2024-07-03 09:24gowthamveeramuthuTriggers an Emergency Pack => No
2024-07-03 09:28gowthamveeramuthuNote Added: 0166626
2024-07-03 09:49PracticsIssue Monitored: Practics
2024-07-03 11:11gowthamveeramuthuNote Added: 0166642
2024-07-03 12:17guilleaerStatusnew => acknowledged
2024-07-03 12:18SABARINATH PAssigned ToRetail => SABARINATH P
2024-07-03 12:19SABARINATH PStatusacknowledged => scheduled
2024-07-15 11:09hgbotNote Added: 0166966
2024-08-13 14:48hgbotNote Added: 0168042
2024-08-14 11:43hgbotNote Added: 0168086
2024-08-14 11:43hgbotResolutionopen => fixed
2024-08-14 11:43hgbotStatusscheduled => resolved
2024-08-14 11:43hgbotNote Added: 0168087
2024-08-14 12:06hgbotNote Added: 0168089
2024-08-14 12:07javierRodriguezStatusresolved => closed

Notes
(0166626)
gowthamveeramuthu   
2024-07-03 09:28   
Reproducing video:
https://drive.google.com/file/d/1NNW1jKlSIq93G4O7lWma9GC04-woIPJy/view?usp=drive_link [^]
(0166642)
gowthamveeramuthu   
2024-07-03 11:11   
additional info:
with the loyalty modules, the customer popup was overriding and validation not works
(0166966)
hgbot   
2024-07-15 11:09   
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.loyalty.programs/-/merge_requests/64 [^]
(0168042)
hgbot   
2024-08-13 14:48   
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/merge_requests/2856 [^]
(0168086)
hgbot   
2024-08-14 11:43   
Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.loyalty.programs/-/merge_requests/64 [^]
(0168087)
hgbot   
2024-08-14 11:43   
Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.loyalty.programs [^]
Changeset: 1646bd28f3d01c4cb13ff813082316e6d368d756
Author: sabarinath palanisamy <sabarinath.palanisamy.ext@openbravo.com>
Date: 14-08-2024 09:43:52
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.loyalty.programs/-/commit/1646bd28f3d01c4cb13ff813082316e6d368d756 [^]

Fixed ISSUE-55894: Render TicketBPNotifications in loyalty programs.

---
M web-jspack/org.openbravo.retail.loyalty.programs/src/components/LoyaltyTicketBPButton/LoyaltyTicketBPButton.jsx
M web-jspack/org.openbravo.retail.loyalty.programs/src/components/LoyaltyTicketBPButton/LoyaltyTicketBPButton.scss
M web-jspack/org.openbravo.retail.loyalty.programs/src/components/LoyaltyTicketBPButton/__test__/LoyaltyTicketBPButton.test.jsx
M web-jspack/org.openbravo.retail.loyalty.programs/src/components/LoyaltyTicketBPButtonWithDocType/__test__/LoyaltyTicketBPButtonWithDocType.test.jsx
---
(0168089)
hgbot   
2024-08-14 12:06   
Merge request closed: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/merge_requests/2856 [^]