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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0055253
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[POS2] POSmajoralways2024-04-18 17:442024-04-26 05:02
ReporterLcazauxView Statuspublic 
Assigned Toalainperez 
PriorityurgentResolutionopenFixed in Version
StatusscheduledFix in branchFixed in SCM revision
ProjectionnoneETAnoneTarget Version
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

0055253: EWIs when changing Loyalty Category from the POS

DescriptionWhen changing the loyalty program category of a client from the POS → KO, nothing changed as it provokes Errors While Importing.

See video https://drive.google.com/file/d/1v2G4UKMKVanf1vFaGhazWOP8w8BgTA5x/view?usp=drive_link [^]

+ screenshot below
Steps To Reproduce****Configuration in BO:

1- Loyalty Card - Web POS ; Loyalty Subscription - Web POS ; Openbravo Business Partner Addresses - Sales Touchpoint ; Openbravo Business Partners - Sales Touchpoint
→ Those 4 must be configured in mode “Remote” in the window “Master Data Model Configuration”

2- “Enable Loyalty Features” and “Allow Loyalty Category Changes” = Yes in window Channel Touchpoint Type

3- Configure a Loyalty Program:
A) Configure the header with the info you want (doesnt matter)
B) Configure 2 Categories in the subtab "VIP" and "Standard" for example ("approval required" MUST be at "NO" for both categories)
C) Configure a status in the subtab "active"
D) Add 1 customer (=business partner) in the tab "Subscription" and put 1 category and 1 status

4- Window "Role", in the subtab User Action Access, configure as "can use" (for the POS role you are using) the 2 UA:
- Synchronize New Loyalty Subscription
- Update Loyalty Category



****Actions in POS:

1- After a refresh, display the information window of a customer who has a subscription to the Loyalty Program

2- Go to the Loyalty Program tab
3- Click on “Update Loyalty Category”

4- Choose the one the customer didn't have

5- Validate your change

→ nothing changed even when you close the pop-up of information and re-open it, the change is not taken into account at all (see video below)



****Go back to the Backoffice:

1- Open the “Error while importing” window

2- See that a record was created which prevents the change of the category
Proposed SolutionThe nullpointer is coming from having posTerminal value as null, which is fine since it can be null (creating the subscription from the backend or through the API). The idea is to avoid the null pointer by taking the organization from the context instead of from the posTerminal
TagsNo tags attached.
Attached Filespng file icon 2024-04-18_17h44_53.png [^] (225,620 bytes) 2024-04-18 17:45

- Relationships Relation Graph ] Dependency Graph ]
blocks defect 0055254 scheduledSABARINATH P Forced to close and reopen pop up to display new Loyalty Category 

-  Notes
(0163780)
hgbot (developer)
2024-04-26 05:00

Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.loyalty.programs/-/merge_requests/60 [^]

- Issue History
Date Modified Username Field Change
2024-04-18 17:44 Lcazaux New Issue
2024-04-18 17:44 Lcazaux Assigned To => Retail
2024-04-18 17:44 Lcazaux Triggers an Emergency Pack => No
2024-04-18 17:45 Lcazaux File Added: 2024-04-18_17h44_53.png
2024-04-18 17:53 Lcazaux Relationship added blocks 0055254
2024-04-19 10:17 jorgewederago Assigned To Retail => alainperez
2024-04-19 10:17 jorgewederago Status new => acknowledged
2024-04-19 10:17 jorgewederago Proposed Solution updated
2024-04-26 05:00 hgbot Note Added: 0163780
2024-04-26 05:02 alainperez Status acknowledged => scheduled


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker