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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0029831
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Retail Modules] Web POSminoralways2015-05-08 14:412015-05-29 09:15
ReporterOrekariaView Statuspublic 
Assigned ToOrekaria 
PrioritynormalResolutionfixedFixed in VersionRR15Q3
StatusclosedFix in branchFixed in SCM revision3ff0757dfa3e
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

0029831: Do not log every log level if the preference is still unknown

DescriptionDo not log every log level if the preference is still unknown


The problem is that debug level log is reaching the Log Client because the application default action is to log unless a preference tells otherwise
Steps To ReproduceIn the ERP, open the Log Client window
Log into the webpos

Verify that debug level messages are reaching the log client (this is CORRECT as the mobile app still does not know the preferences and its default level is to log every level)

Verify that, after logged in, only correct log info is logged (this is CORRECT as the application now knows the preferences)
Proposed SolutionRaise the minimum log level when the preference is unknow to warn
TagsNo tags attached.
Attached Filespatch file icon 1345.patch [^] (1,336 bytes) 2015-05-14 14:26 [Show Content]

- Relationships Relation Graph ] Dependency Graph ]

-  Notes
(0077446)
hgbot (developer)
2015-05-14 14:27

Repository: erp/pmods/org.openbravo.mobile.core
Changeset: 3ff0757dfa3e86bde2628953b1842ccd903b9587
Author: Rafa Alonso <rafael.alonso <at> openbravo.com>
Date: Thu May 14 14:26:11 2015 +0200
URL: http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/3ff0757dfa3e86bde2628953b1842ccd903b9587 [^]

Fixes issue 29831: Log important log messages even if the preferences are still unknown

if the preferences' information is not available, all the log levels were being sent to the server. As more log is added, we want to prevent irrelevant messages to reach the log client when there is no information about what was set up in the backend

---
M web/org.openbravo.mobile.core/source/utils/ob-utilities.js
---
(0077787)
dmitry_mezentsev (developer)
2015-05-27 09:33

Not closed for 13 days!

- Issue History
Date Modified Username Field Change
2015-05-08 14:41 Orekaria New Issue
2015-05-08 14:41 Orekaria Assigned To => Orekaria
2015-05-08 14:41 Orekaria Triggers an Emergency Pack => No
2015-05-08 14:58 Orekaria File Added: 1322.patch
2015-05-14 14:25 Orekaria File Deleted: 1322.patch
2015-05-14 14:26 Orekaria File Added: 1345.patch
2015-05-14 14:27 hgbot Checkin
2015-05-14 14:27 hgbot Note Added: 0077446
2015-05-14 14:27 hgbot Status new => resolved
2015-05-14 14:27 hgbot Resolution open => fixed
2015-05-14 14:27 hgbot Fixed in SCM revision => http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/3ff0757dfa3e86bde2628953b1842ccd903b9587 [^]
2015-05-27 09:33 dmitry_mezentsev Note Added: 0077787
2015-05-29 09:15 marvintm Review Assigned To => marvintm
2015-05-29 09:15 marvintm Status resolved => closed
2015-05-29 09:15 marvintm Fixed in Version => RR15Q3


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker