Openbravo Issue Tracking System - POS2
View Issue Details
0049980POS2POSpublic2022-08-10 11:382022-08-12 12:01
jorgewederago 
jorgewederago 
normalmajoralways
closedfixed 
5
 
22Q4 
No
0049980: CRM Connector is handling the errors in different ways depending on the component which is launching the query
When doing an implementation for CRM Connector it is difficult to block some actions due the fact that depending on the component which is performing the query different responses are expected making difficult handling some errors/behaviors.
WebPOS:
1.- With a CRM Connector configured raise an error using throw new Exception.
2.- The "quick" customer selector will handle the error properly
3.- The Customers Window will throw an unhandled error breaking the application.
Add a try/catch to the CustomerDataSource.js to be able to handle the errors in both components in a similar way
No tags attached.
Issue History
2022-08-10 11:38jorgewederagoNew Issue
2022-08-10 11:38jorgewederagoAssigned To => Retail
2022-08-10 11:38jorgewederagoTriggers an Emergency Pack => No
2022-08-10 11:38jorgewederagoAssigned ToRetail => jorgewederago
2022-08-10 11:43hgbotNote Added: 0140041
2022-08-10 11:43jorgewederagoStatusnew => scheduled
2022-08-12 11:35jorgewederagoSummaryCRM Connector is handling the errors in different forms depending on the component which is launching the query => CRM Connector is handling the errors in different ways depending on the component which is launching the query
2022-08-12 12:01hgbotResolutionopen => fixed
2022-08-12 12:01hgbotStatusscheduled => closed
2022-08-12 12:01hgbotFixed in Version => 22Q4
2022-08-12 12:01hgbotNote Added: 0140094
2022-08-12 12:01hgbotNote Added: 0140095

Notes
(0140041)
hgbot   
2022-08-10 11:43   
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/merge_requests/1136 [^]
(0140094)
hgbot   
2022-08-12 12:01   
Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2 [^]
Changeset: 648292d3114b7c0a1516ba8cd71da43fa96e6c06
Author: Jorge Wederago <jorge.wederago@openbravo.com>
Date: 12-08-2022 10:01:34
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/commit/648292d3114b7c0a1516ba8cd71da43fa96e6c06 [^]

Fixed ISSUE-49980: CRM Connector is handling the errors in different ways...

---
M web-jspack/org.openbravo.pos2/src/components/Customer/CustomerGrid/CustomerDataSource.js
---
(0140095)
hgbot   
2022-08-12 12:01   
Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/merge_requests/1136 [^]