(0103982)
|
hgbot
|
2018-04-18 19:57
|
|
Repository: erp/pmods/org.openbravo.mobile.core
Changeset: ad2318f5a6d62d7e6d29bef93864442866925a30
Author: Gorka Gil <gorka.gil <at> openbravo.com>
Date: Wed Apr 18 19:55:09 2018 +0200
URL: http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/ad2318f5a6d62d7e6d29bef93864442866925a30 [^]
Fixes issue 38332: Remove log line
Not clear what is the problem, but this console line is only printed in debug,
so only is print in jenkins tests but not in any production instance,
also the situation of retry when fail to send the logClient is working correctly.
So disabled this log since adds no value.
Note that for add more info to this error is needed to edit the enyo library (enyo.js - line 1034):
receive: function(e, t) {
!this.failed && !this.destroyed && (this.isFailure(t) ? this.fail(t.status) : this.respond(this.xhrToResponse(t)));
},
And change this:
"? this.fail(t.status)"
to something like this:
"? this.fail(t)"
So instead to have only the error code, we can get the error message, but this change is in the code used by all
pos requests so totally discarded this option, and since it is not a problem it self, just removed the log
in the console of this error.
---
M web/org.openbravo.mobile.core/source/data/ob-datasource.js
---
|
|