Openbravo Issue Tracking System - Retail Modules
View Issue Details
0038497Retail ModulesStoreServerpublic2018-05-07 15:402018-05-10 17:13
AugustoMauch 
StoreServer 
normalmajorhave not tried
closedduplicate 
5
 
 
No
0038497: If the store server receives a response from the central server with bad JSON format, it should not go offline
The MobileServerRequestExecutor.executeServerRequest method executes a request in a remote server. For instance, it is used to forward a request from the store server to the central server.

If the central server is not available or cannot process the request, the store server will transition to offline.

This behavior is too strict, the store server should only transition to offline is the central server is not available, but not if it returns a response and there is a problem with the response itself (i.e. it is badly formatted).
In a production environment, there was a problem when process a request in the central server, and the store server received a badly formatted JSON response (see [1]). In this case the store server should have not transitioned to offline, because the central server was available.

[1] https://issues.openbravo.com/view.php?id=38496 [^]
No tags attached.
duplicate of design defect 0038505 closed AugustoMauch Before going offline do extra ping request 
related to defect 0038496 scheduled rqueralta Exception in ProcessHQLQuery can result in error JSON response being not properly formatted 
Issue History
2018-05-07 15:40AugustoMauchNew Issue
2018-05-07 15:40AugustoMauchAssigned To => StoreServer
2018-05-07 15:40AugustoMauchTriggers an Emergency Pack => No
2018-05-07 15:40AugustoMauchRelationship addedrelated to 0038496
2018-05-07 15:42AugustoMauchSteps to Reproduce Updatedbug_revision_view_page.php?rev_id=17098#r17098
2018-05-10 17:13AugustoMauchRelationship addedduplicate of 0038505
2018-05-10 17:13AugustoMauchStatusnew => closed
2018-05-10 17:13AugustoMauchResolutionopen => duplicate

There are no notes attached to this issue.