Openbravo Issue Tracking System - Retail Modules
View Issue Details
0045172Retail ModulesLoyalty Programs for Web POSpublic2020-10-01 18:442020-10-22 17:53
collazoandy4 
prakashmurugesan88 
normalmajorhave not tried
closedfixed 
5
 
RR21Q1 
marvintm
No
0045172: Loyalty subscription is register for customer in Pos when the process fails in the backend
When a new loyalty subcription is created for a customer in Web Pos and the subcription program fails by a connection time out no error is shown in the Loyalty subcription popup and the subsciption is registered in the local database even thought no subscription is saved in the backend.

This part is correct, but the problem is that the registration popup remains stuck, with the "Cancel" and "Ok" buttons disabled, as the polling request failed and the error was not handled properly
Register a new loyalty subscription for an existing customer. While the polling is taking place, lose network connection.

Realise that the polling requests fail (this is expected), but the registration popup remains stuck, with its buttons disabled, so the user cannot continue.
No tags attached.
png image (1).png (214,214) 2020-10-14 08:08
https://issues.openbravo.com/file_download.php?file_id=15019&type=bug
png
Issue History
2020-10-01 18:44collazoandy4New Issue
2020-10-01 18:44collazoandy4Assigned To => Retail
2020-10-01 18:44collazoandy4Resolution time => 1602712800
2020-10-01 18:44collazoandy4Triggers an Emergency Pack => No
2020-10-06 15:08prakashmurugesan88Assigned ToRetail => prakashmurugesan88
2020-10-08 02:33prakashmurugesan88Statusnew => scheduled
2020-10-14 08:06marvintmDescription Updatedbug_revision_view_page.php?rev_id=21779#r21779
2020-10-14 08:06marvintmSteps to Reproduce Updatedbug_revision_view_page.php?rev_id=21781#r21781
2020-10-14 08:08marvintmFile Added: image (1).png
2020-10-19 06:56marvintmResolution time1602712800 => 1603317600
2020-10-22 17:48hgbotNote Added: 0123889
2020-10-22 17:52marvintmStatusscheduled => resolved
2020-10-22 17:52marvintmFixed in Version => RR21Q1
2020-10-22 17:52marvintmResolutionopen => fixed
2020-10-22 17:53marvintmReview Assigned To => marvintm
2020-10-22 17:53marvintmStatusresolved => closed

Notes
(0123889)
hgbot   
2020-10-22 17:48   
Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.loyalty.programs [^]
Changeset: 4e682a240d00d4096f87a441041e344d3bb7655a
Author: Andy Armaignac <andy.armaignac@doceleguas.com>
Date: 2020-10-22T15:48:04+00:00
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.loyalty.programs/-/commit/4e682a240d00d4096f87a441041e344d3bb7655a [^]

Related to ISSUE-45172: Added businessPartner as extra param in catch function

Now when the business partner synchronization process fails while a loyalty subscription is saved the the pending for synchronization business partner is send in the data as part as offline loyalty subscription support

---
M web/org.openbravo.retail.loyalty.programs/js/view/subscription-create-form.js
---