Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
ID | ||||||||
0038332 | ||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||
defect | [Retail Modules] Web POS | minor | sometimes | 2018-04-11 13:28 | 2018-05-10 17:02 | |||
Reporter | gorka_gil | View Status | public | |||||
Assigned To | gorka_gil | |||||||
Priority | high | Resolution | fixed | Fixed in Version | RR18Q3 | |||
Status | closed | Fix in branch | Fixed in SCM revision | ad2318f5a6d6 | ||||
Projection | none | ETA | none | Target Version | ||||
OS | Any | Database | Any | Java version | ||||
OS Version | Database version | Ant version | ||||||
Product Version | SCM revision | |||||||
Merge Request Status | ||||||||
Review Assigned To | marvintm | |||||||
OBNetwork customer | No | |||||||
Support ticket | ||||||||
Regression level | ||||||||
Regression date | ||||||||
Regression introduced in release | ||||||||
Regression introduced by commit | ||||||||
Triggers an Emergency Pack | No | |||||||
Summary | 0038332: In jenkins somtimes fails the the logClientLoader | |||||||
Description | The log of the error: (1) errors in the browser log: [2018-04-09T09:23:59+0000] [SEVERE] http://127.0.0.1/ret-qa-test-oracle-suite3/web/js/gen/2ebc3912de8ee1c62d947e20dc0681e4.js [^] 1298:18 "servicePOST error: 0, source: org.openbravo.mobile.core.utils.LogClientLoader" Example build: http://ci.openbravo.com/view/retail-qa/job/ret-qa-test-oracle-suite3/3750/testReport/junit/org.openbravo.test.mobile.retail.pack.selenium.tests.receipts/I34968_ReceiptPayOpenTicket/test/ [^] | |||||||
Steps To Reproduce | - | |||||||
Tags | No tags attached. | |||||||
Attached Files | ||||||||
![]() |
|
![]() |
|
(0103809) hgbot (developer) 2018-04-11 14:00 |
Repository: erp/pmods/org.openbravo.mobile.core Changeset: b961ba7b88a91daf671aeac1145c87c89bdeea22 Author: Gorka Gil <gorka.gil <at> openbravo.com> Date: Wed Apr 11 13:59:25 2018 +0200 URL: http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/b961ba7b88a91daf671aeac1145c87c89bdeea22 [^] Related to issue 38332: Improve manage and logging of logClientLoader errors --- M src/org/openbravo/mobile/core/utils/LogClientLoader.java --- |
(0103982) hgbot (developer) 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 --- |
![]() |
|||
Date Modified | Username | Field | Change |
2018-04-11 13:28 | gorka_gil | New Issue | |
2018-04-11 13:28 | gorka_gil | Assigned To | => gorka_gil |
2018-04-11 13:28 | gorka_gil | OBNetwork customer | => No |
2018-04-11 13:28 | gorka_gil | Triggers an Emergency Pack | => No |
2018-04-11 14:00 | hgbot | Checkin | |
2018-04-11 14:00 | hgbot | Note Added: 0103809 | |
2018-04-11 14:00 | gorka_gil | Status | new => scheduled |
2018-04-18 19:57 | hgbot | Checkin | |
2018-04-18 19:57 | hgbot | Note Added: 0103982 | |
2018-04-18 19:57 | hgbot | Status | scheduled => resolved |
2018-04-18 19:57 | hgbot | Resolution | open => fixed |
2018-04-18 19:57 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/ad2318f5a6d62d7e6d29bef93864442866925a30 [^] |
2018-04-27 14:15 | gorka_gil | Note Added: 0104164 | |
2018-04-27 14:15 | gorka_gil | Status | resolved => closed |
2018-04-27 14:16 | gorka_gil | Note Deleted: 0104164 | |
2018-04-27 14:16 | gorka_gil | Status | closed => new |
2018-04-27 14:16 | gorka_gil | Resolution | fixed => open |
2018-04-27 14:16 | gorka_gil | Status | new => scheduled |
2018-04-27 14:16 | gorka_gil | Status | scheduled => resolved |
2018-04-27 14:16 | gorka_gil | Resolution | open => fixed |
2018-05-10 17:02 | marvintm | Review Assigned To | => marvintm |
2018-05-10 17:02 | marvintm | Status | resolved => closed |
2018-05-10 17:02 | marvintm | Fixed in Version | => RR18Q3 |
Copyright © 2000 - 2009 MantisBT Group |