Anonymous | Login
Project:
RSS
  
News | My View | View Issues | Roadmap | Summary

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0038332
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Retail Modules] Web POSminorsometimes2018-04-11 13:282018-05-10 17:02
Reportergorka_gilView Statuspublic 
Assigned Togorka_gil 
PriorityhighResolutionfixedFixed in VersionRR18Q3
StatusclosedFix in branchFixed in SCM revisionad2318f5a6d6
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Review Assigned Tomarvintm
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0038332: In jenkins somtimes fails the the logClientLoader

DescriptionThe 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-
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]

-  Notes
(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
---

- Issue History
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 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
Powered by Mantis Bugtracker