Anonymous | Login
Project:
RSS
  
News | My View | View Issues | Roadmap | Summary

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0057955
TypeCategorySeverityReproducibilityDate SubmittedLast Update
backport[POS2] POSminoralways2025-01-31 10:162025-02-16 10:16
ReporterjinigoView Statuspublic 
Assigned Tosreehari 
PrioritynormalResolutionfixedFixed in Version24Q4.1
StatusclosedFix in branchFixed in SCM revision
ProjectionnoneETAnoneTarget Version24Q4.2
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Review Assigned To
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0057955: [25Q1] Anonymous customer should not be validated when no email is present

DescriptionWhen email validation is configured in the Openbravo CRM, the anonymous customer (VBS Customer) is marked as invalid if no email is associated with it. This is incorrect because the anonymous customer is not supposed to have an email, and therefore should not be subject to validation.
Steps To Reproduce1. Go to Backoffice
2. Go to CRM Connector Configuration
3. Select Openbravo CRM
4. In 'API Property for Customer' select 'email'
5. In Validations & Notifications set the following values:
- Validation: Informative
- Validation Type: Empty
- Show Notification Icon in Order Header: Wrong Format
6. Ensure that 'VSB Customer' has not email (Business Partner -> VBS Customer -> Contact subtab)
7. Log in to POS2
8. Click VBS Customer -> New customer
9. Complete Greetings, Name and Last Name
10. Click Save and Assign
11. Click 'Not now' in 'Incorrect Customer Data Detected'

Error icon is shown next to the customer (correct)

12. Select any product and complete a payment

Error icon is shown next to anonymous customer (incorrect)
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]
blocks defect 0057815 closedBimla_vm [25Q1] Anonymous customer should not be validated when no email is present 

-  Notes
(0175545)
hgbot (developer)
2025-02-12 18:24

Merge Request created: https://gitlab.com/orisha-group/bu-commerce/openbravo/product/pmods/org.openbravo.pos2/-/merge_requests/3495 [^]
(0175546)
hgbot (developer)
2025-02-12 18:25

Merge Request created: https://gitlab.com/orisha-group/bu-commerce/openbravo/product/pmods/org.openbravo.mobile.core/-/merge_requests/829 [^]
(0175547)
hgbot (developer)
2025-02-12 18:26

Merge Request created: https://gitlab.com/orisha-group/bu-commerce/openbravo/product/pmods/org.openbravo.retail.loyalty.programs/-/merge_requests/80 [^]
(0175725)
hgbot (developer)
2025-02-16 10:15

Merge request merged: https://gitlab.com/orisha-group/bu-commerce/openbravo/product/pmods/org.openbravo.pos2/-/merge_requests/3495 [^]
(0175726)
hgbot (developer)
2025-02-16 10:15

Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/orisha-group/bu-commerce/openbravo/product/pmods/org.openbravo.pos2 [^]
Changeset: ad560c3f11b13689429cc1c4fb0e72d582954722
Author: Sreehari Venkataraman <sreehari.venkataraman.ext@openbravo.com>
Date: 16-02-2025 09:13:15
URL: https://gitlab.com/orisha-group/bu-commerce/openbravo/product/pmods/org.openbravo.pos2/-/commit/ad560c3f11b13689429cc1c4fb0e72d582954722 [^]

Fixes ISSUE-57955: Removing CRM validation for Anonymous customer

---
M web-jspack/org.openbravo.pos2/src/components/ButtonBar1/__test__/ButtonBar1.test.jsx
M web-jspack/org.openbravo.pos2/src/components/ButtonBar2/__test__/ButtonBar2.test.jsx
M web-jspack/org.openbravo.pos2/src/components/ButtonBar4/__test__/ButtonBar4.test.jsx
M web-jspack/org.openbravo.pos2/src/components/Customer/CustomerSelector/CustomerNotification/CustomerNotification.jsx
M web-jspack/org.openbravo.pos2/src/components/Ticket/TicketBPNotifications/TicketBPNotifications.jsx
M web-jspack/org.openbravo.pos2/src/components/Ticket/TicketBPNotifications/__test__/TicketBPNotifications.test.jsx
M web-jspack/org.openbravo.pos2/src/components/Ticket/TicketHeader/TicketHeaderBPButton/__test__/TicketHeaderBPButton.test.jsx
M web-jspack/org.openbravo.pos2/src/components/TicketList/TicketListLocalGrid/__test__/TicketListLocalGrid.test.jsx
M web-jspack/org.openbravo.pos2/src/components/TicketList/TicketListRemoteGrid/__test__/TicketListRemoteGrid.test.jsx
M web-jspack/org.openbravo.pos2/src/model/ticket/__test__/DeleteTicket.test.js
M web-jspack/org.openbravo.pos2/src/model/ticket/__test__/LoadLocalTicket.test.js
M web-jspack/org.openbravo.pos2/src/model/ticket/__test__/NewTicket.test.js
M web-jspack/org.openbravo.pos2/src/model/ticket/user-actions/__test__/UnassignExternalBusinessPartner.test.js
M web-jspack/org.openbravo.pos2/src/model/user-interface/user-actions/LoadExternalBpNotifications.js
---
(0175727)
hgbot (developer)
2025-02-16 10:15

Repository: https://gitlab.com/orisha-group/bu-commerce/openbravo/product/pmods/org.openbravo.mobile.core [^]
Changeset: 03a5a657e77bf6fb9bcaf2cbac544b1dfdcabfae
Author: Sreehari Venkataraman <sreehari.venkataraman.ext@openbravo.com>
Date: 15-02-2025 21:55:03
URL: https://gitlab.com/orisha-group/bu-commerce/openbravo/product/pmods/org.openbravo.mobile.core/-/commit/03a5a657e77bf6fb9bcaf2cbac544b1dfdcabfae [^]

Related ISSUE-57955: Add utility function to make easier to work with anonymous customer

---
M web/org.openbravo.mobile.core/app/integration/external-business-partner/CRMConfigurationHelper.js
---
(0175728)
hgbot (developer)
2025-02-16 10:15

Merge request merged: https://gitlab.com/orisha-group/bu-commerce/openbravo/product/pmods/org.openbravo.mobile.core/-/merge_requests/829 [^]
(0175729)
hgbot (developer)
2025-02-16 10:16

Repository: https://gitlab.com/orisha-group/bu-commerce/openbravo/product/pmods/org.openbravo.retail.loyalty.programs [^]
Changeset: b26cb92d8cad74efc86a1731a3eff1736ddf67fb
Author: Sreehari Venkataraman <sreehari.venkataraman.ext@openbravo.com>
Date: 12-02-2025 22:42:28
URL: https://gitlab.com/orisha-group/bu-commerce/openbravo/product/pmods/org.openbravo.retail.loyalty.programs/-/commit/b26cb92d8cad74efc86a1731a3eff1736ddf67fb [^]

Related ISSUE-57955: Fixed test cases

---
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
---
(0175730)
hgbot (developer)
2025-02-16 10:16

Merge request merged: https://gitlab.com/orisha-group/bu-commerce/openbravo/product/pmods/org.openbravo.retail.loyalty.programs/-/merge_requests/80 [^]

- Issue History
Date Modified Username Field Change
2025-02-12 07:16 sreehari Type defect => backport
2025-02-12 07:16 sreehari Target Version => 24Q4.2
2025-02-12 07:17 sreehari Assigned To Bimla_vm => sreehari
2025-02-12 18:24 hgbot Note Added: 0175545
2025-02-12 18:25 hgbot Note Added: 0175546
2025-02-12 18:26 hgbot Note Added: 0175547
2025-02-16 10:15 hgbot Resolution open => fixed
2025-02-16 10:15 hgbot Status scheduled => closed
2025-02-16 10:15 hgbot Note Added: 0175725
2025-02-16 10:15 hgbot Fixed in Version => 24Q4.1
2025-02-16 10:15 hgbot Note Added: 0175726
2025-02-16 10:15 hgbot Note Added: 0175727
2025-02-16 10:15 hgbot Note Added: 0175728
2025-02-16 10:16 hgbot Note Added: 0175729
2025-02-16 10:16 hgbot Note Added: 0175730


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker