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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0041891
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Retail Modules] Web POSmajorunable to reproduce2019-09-26 16:282019-10-16 14:05
Reportersalvador_campanellaView Statuspublic 
Assigned Toranjith_qualiantech_com 
PrioritynormalResolutionfixedFixed in Version
StatusclosedFix in branchFixed in SCM revision6712cbe71d59
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Review Assigned Toadrianromero
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0041891: LogClientLoader fails when the context field have more than 255 characters

DescriptionJSON extract of a windows of a custom module that use mobile core.

{
"created":1568817555105,
"createdby":"C36DBF2FE3B6XXXXX03D3E451C337AE",
"loglevel":"Info",
"msg":"Total time since logged in: 54.796 seconds; stackTrace: http:\/\/localhost:8080\/openbravo\/web\/js\/gen\/59ac6cfca590e89c710aaed4108138e8.js:777:235",
"deviceId":"VA01",
"context":"retail.warehouse.movement\/%7B%22title%22:%22De%20Vxxxia%20a%20Baxxlona%22,%22fromBin%22:%7B%22name%22:%22Txxnda%20Vaxxxcia%22,%22id%22:%229A9F875D76184B9xxxxxx34166EDB%22,%22readonly%22:true%7D,%22toBin%22:%7B%22name%22:%22Valencia%20-%20Badalona%20Tr%C3%A1nsito%22,%22id%22:%22AB1819BCC40xxxx946D0D8635A0D51%22,%22readonly%22:true%7D%7D",
"cacheSessionId":"D223D05xxxx299B431ADF954483A",
"link":"http:\/\/localhost:8080\/openbravo\/web\/js\/gen\/59ac6xxxxxx9c710aaed41xxxx8e8.js:197:142",
"isOnline":true
}
Steps To ReproduceBecause this error only appears in custom windows that using mobile core.
For the moment there are no steps to reproduce
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]

-  Notes
(0114820)
gorka_gil (administrator)
2019-09-26 17:30

I think this issue has two parts:

 1.- Check in in LogClientLoader.java if the context is more than 255 and truncate in case that yes.
With this it will stop failing.

 2. Check with the reported the customization that was using the customer, and analyze if can be created a better context for this case, or in case that no, probably disable the context for this functionality.
(Maybe this can be reported in a different issue to not mix things)
(0114941)
hgbot (developer)
2019-10-08 07:49

Repository: erp/pmods/org.openbravo.mobile.core
Changeset: 6712cbe71d5952fb4b6e026b95e18e444503e09e
Author: Ranjith S R <ranjith <at> qualiantech.com>
Date: Tue Oct 08 11:18:58 2019 +0530
URL: http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/6712cbe71d5952fb4b6e026b95e18e444503e09e [^]

Fixed issue 41891 : Updated LogClientLoader to save context field with 255 characters

---
M src/org/openbravo/mobile/core/utils/LogClientLoader.java
---
(0115112)
adrianromero (manager)
2019-10-16 14:05

Verified

- Issue History
Date Modified Username Field Change
2019-09-26 16:28 salvador_campanella New Issue
2019-09-26 16:28 salvador_campanella Assigned To => Retail
2019-09-26 16:28 salvador_campanella Resolution time => 1571263200
2019-09-26 16:28 salvador_campanella Triggers an Emergency Pack => No
2019-09-26 16:34 Practics Issue Monitored: Practics
2019-09-26 17:30 gorka_gil Note Added: 0114820
2019-09-26 17:30 gorka_gil Issue Monitored: gorka_gil
2019-10-01 13:32 ranjith_qualiantech_com Assigned To Retail => ranjith_qualiantech_com
2019-10-01 13:33 ranjith_qualiantech_com Status new => scheduled
2019-10-08 07:49 hgbot Checkin
2019-10-08 07:49 hgbot Note Added: 0114941
2019-10-08 07:49 hgbot Status scheduled => resolved
2019-10-08 07:49 hgbot Resolution open => fixed
2019-10-08 07:49 hgbot Fixed in SCM revision => http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/6712cbe71d5952fb4b6e026b95e18e444503e09e [^]
2019-10-16 14:05 adrianromero Review Assigned To => adrianromero
2019-10-16 14:05 adrianromero Note Added: 0115112
2019-10-16 14:05 adrianromero Status resolved => closed


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker