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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0027986
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Retail Modules] Web POSmajoralways2014-10-27 11:552014-11-03 11:19
ReporterOrekariaView Statuspublic 
Assigned ToOrekaria 
PrioritynormalResolutionfixedFixed in VersionRR14Q4
StatusclosedFix in branchFixed in SCM revision833aa4c172f7
ProjectionnoneETAnoneTarget VersionRR14Q4
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

0027986: Stabilization: Revisit log levels after the introduction of the Debug mode

DescriptionRevisit log levels after the introduction of the Debug mode
Steps To ReproduceVerify the above messages in the browser console log
Verify the saved log level in the server
Proposed Solutionchange preference 'Mobile Log Client Save Level' to 'Info'

add cashup info message
move to info:
- ticket close a info
- [terminal] loading...
- [sdreresh] loading data for
- [sdreresh] is/are loaded
- OrderLoader (d1): 0 orders correctly sent to the server. Removing from local...
- Performing incremental refresh
- Navigating to 'retail.cashup'
- OB.info('Connection came back. Session still valid, so no action required.');
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]
depends on feature request 0027417 closedOrekaria Stabilization: add a main.js file to any module in which centralize versions, deprecations, etc 
related to defect 0027987 closedmarvintm Add console log output to the 'showError' and 'showWarning' methods 
blocks feature request 0027409RR14Q4 closedOrekaria Stabilization: Add more and better log to help developers and support 
blocks feature request 0027329 newRetail Stabilization: Overhaul the loading process (since the url is entered until the webpos has loaded) 

-  Notes
(0071196)
hgbot (developer)
2014-10-27 15:07

Repository: erp/pmods/org.openbravo.retail.posterminal
Changeset: 1796fdc36f3a050b192c7d1e5adf14ff4f866126
Author: Rafa Alonso <rafael.alonso <at> openbravo.com>
Date: Mon Oct 27 15:01:40 2014 +0100
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/1796fdc36f3a050b192c7d1e5adf14ff4f866126 [^]

Fixes issue 27986 (posterminal): Log levels revisited after the introduction of the 'Debug' mode
- log levels 'info' and up will be logged to the server
- several messages have been promoted from 'debug' to 'info'
- several messages have been demoted from 'warn' to 'info'
- added messages to track the connection status
- added message to track the navigation flow
- added messages to track the synchronization of a model with the server
- some messages have been improved
- the login timer has been fixed
- the 'UTILS' depretation is not shown, as it should be shown only when used

---
M web/org.openbravo.retail.posterminal/js/closecash/model/cashup-model.js
M web/org.openbravo.retail.posterminal/js/closecash/view/closecash.js
M web/org.openbravo.retail.posterminal/js/data/dataordersave.js
M web/org.openbravo.retail.posterminal/js/login/model/login-model.js
---
(0071197)
hgbot (developer)
2014-10-27 15:07

Repository: erp/pmods/org.openbravo.mobile.core
Changeset: 60af5aa46de4d006448a8c7d2b6d44cb921fa716
Author: Rafa Alonso <rafael.alonso <at> openbravo.com>
Date: Mon Oct 27 15:03:33 2014 +0100
URL: http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/60af5aa46de4d006448a8c7d2b6d44cb921fa716 [^]

Fixes issue 27986 (core): Log levels revisited after the introduction of the 'Debug' mode
- log levels 'info' and up will be logged to the server
- several messages have been promoted from 'debug' to 'info'
- several messages have been demoted from 'warn' to 'info'
- added messages to track the connection status
- added message to track the navigation flow
- added messages to track the synchronization of a model with the server
- some messages have been improved
- the login timer has been fixed
- the 'UTILS' depretation is not shown, as it should be shown only when used

---
M src-db/database/sourcedata/AD_PREFERENCE.xml
M web/org.openbravo.mobile.core/source/component/ob-terminal-component.js
M web/org.openbravo.mobile.core/source/component/ob-windowview.js
M web/org.openbravo.mobile.core/source/data/ob-dal.js
M web/org.openbravo.mobile.core/source/model/ob-terminal-model.js
M web/org.openbravo.mobile.core/source/utils/ob-utilities.js
M web/org.openbravo.mobile.core/source/utils/ob-versionmanagement.js
---
(0071295)
hgbot (developer)
2014-10-31 09:48

Repository: erp/pmods/org.openbravo.retail.posterminal
Changeset: 2bf1b905c654ddeee2668955379885ac36e4c5ff
Author: Rafa Alonso <rafael.alonso <at> openbravo.com>
Date: Fri Oct 31 09:47:41 2014 +0100
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/2bf1b905c654ddeee2668955379885ac36e4c5ff [^]

Fixes issue 27986 (posterminal): Log levels revisited after the introduction of the 'Debug' mode (II)
- the 'getStackLinkBeforeCaller' method introduced in Q4 has been removed (no deprecation, no regression)
  instead, the 'getStackTrace' method has been introduced with the ability to show all the stack trace or only the caller call
- deprecations
  - OB.log has been tagged as deprecated
  - OB.UTIL.composeMessage has been tagged as deprecated
- 'LogClient' messages have been replaced by 2 messages that report when the availability has changed
- OB.trace, debug, info, warn, error and critical have been refactored for easier maintenance. some minor changes have been added to the logic to be in pace with the new 'getStackTrace' method and the 'LogClient' reporting changes
- the message sent to the server is now generated by the same method that shows it in the console
- uncaught errors are correctly captured. some methods have been moved, some removed, some created; and the methods docs have been updated to help the developer
- a new file, called 'main.js' has been added to mobile.core
- log level error saves all the stack trace in the server. the rest of the log levels, save the originator trace
- the logic to check if a log message is sent to the server has been improved
- 2 tags (*,+) in a message will inform that, in production, the message is being shown in the console and sent to the server
- OB.UTIL.Debug has had its docs updated
- jslint fixes

---
M web/org.openbravo.retail.posterminal/index.jsp
---
(0071297)
hgbot (developer)
2014-10-31 09:48

Repository: erp/pmods/org.openbravo.mobile.core
Changeset: 833aa4c172f727e99bbae1c139ed0537863946ef
Author: Rafa Alonso <rafael.alonso <at> openbravo.com>
Date: Fri Oct 31 09:47:11 2014 +0100
URL: http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/833aa4c172f727e99bbae1c139ed0537863946ef [^]

Fixes issue 27986 (core): Log levels revisited after the introduction of the 'Debug' mode (II)
- the 'getStackLinkBeforeCaller' method introduced in Q4 has been removed (no deprecation, no regression)
  instead, the 'getStackTrace' method has been introduced with the ability to show all the stack trace or only the caller call
- deprecations
  - OB.log has been tagged as deprecated
  - OB.UTIL.composeMessage has been tagged as deprecated
- 'LogClient' messages have been replaced by 2 messages that report when the availability has changed
- OB.trace, debug, info, warn, error and critical have been refactored for easier maintenance. some minor changes have been added to the logic to be in pace with the new 'getStackTrace' method and the 'LogClient' reporting changes
- the message sent to the server is now generated by the same method that shows it in the console
- uncaught errors are correctly captured. some methods have been moved, some removed, some created; and the methods docs have been updated to help the developer
- a new file, called 'main.js' has been added to mobile.core
- log level error saves all the stack trace in the server. the rest of the log levels, save the originator trace
- the logic to check if a log message is sent to the server has been improved
- 2 tags (*,+) in a message will inform that, in production, the message is being shown in the console and sent to the server
- OB.UTIL.Debug has had its docs updated
- jslint fixes

---
M web/org.openbravo.mobile.core/source/utils/ob-debug.js
M web/org.openbravo.mobile.core/source/utils/ob-utilities.js
---
(0071340)
hgbot (developer)
2014-11-03 11:19

Repository: erp/pmods/org.openbravo.mobile.core
Changeset: 5cd01446ad27d2c0144260ff80cc4e8f86d9755a
Author: Rafa Alonso <rafael.alonso <at> openbravo.com>
Date: Mon Nov 03 11:18:09 2014 +0100
URL: http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/5cd01446ad27d2c0144260ff80cc4e8f86d9755a [^]

Related to issue 27986: Removed rogue code in the Log refactor

---
M web/org.openbravo.mobile.core/source/utils/ob-utilities.js
---

- Issue History
Date Modified Username Field Change
2014-10-27 11:55 Orekaria New Issue
2014-10-27 11:55 Orekaria Assigned To => Orekaria
2014-10-27 11:55 Orekaria Triggers an Emergency Pack => No
2014-10-27 12:04 Orekaria Relationship added related to 0027569
2014-10-27 12:05 Orekaria Relationship added depends on 0027409
2014-10-27 12:05 Orekaria Relationship deleted related to 0027569
2014-10-27 12:06 Orekaria Relationship replaced blocks 0027409
2014-10-27 12:07 Orekaria Summary Revisit log levels after the introduction of the Debug mode => Stabilization: Revisit log levels after the introduction of the Debug mode
2014-10-27 12:07 Orekaria Description Updated View Revisions
2014-10-27 12:07 Orekaria Proposed Solution updated
2014-10-27 12:13 Orekaria Review Assigned To => marvintm
2014-10-27 13:05 Orekaria Relationship added related to 0027987
2014-10-27 15:07 hgbot Checkin
2014-10-27 15:07 hgbot Note Added: 0071196
2014-10-27 15:07 hgbot Status new => resolved
2014-10-27 15:07 hgbot Resolution open => fixed
2014-10-27 15:07 hgbot Fixed in SCM revision => http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/1796fdc36f3a050b192c7d1e5adf14ff4f866126 [^]
2014-10-27 15:07 hgbot Checkin
2014-10-27 15:07 hgbot Note Added: 0071197
2014-10-27 15:07 hgbot Fixed in SCM revision http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/1796fdc36f3a050b192c7d1e5adf14ff4f866126 [^] => http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/60af5aa46de4d006448a8c7d2b6d44cb921fa716 [^]
2014-10-31 09:14 Orekaria Status resolved => new
2014-10-31 09:14 Orekaria Resolution fixed => open
2014-10-31 09:14 Orekaria Relationship added blocks 0027329
2014-10-31 09:15 Orekaria Relationship added depends on 0027417
2014-10-31 09:48 hgbot Checkin
2014-10-31 09:48 hgbot Note Added: 0071295
2014-10-31 09:48 hgbot Status new => resolved
2014-10-31 09:48 hgbot Resolution open => fixed
2014-10-31 09:48 hgbot Fixed in SCM revision http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/60af5aa46de4d006448a8c7d2b6d44cb921fa716 [^] => http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/2bf1b905c654ddeee2668955379885ac36e4c5ff [^]
2014-10-31 09:48 hgbot Checkin
2014-10-31 09:48 hgbot Note Added: 0071297
2014-10-31 09:48 hgbot Fixed in SCM revision http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/2bf1b905c654ddeee2668955379885ac36e4c5ff [^] => http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/833aa4c172f727e99bbae1c139ed0537863946ef [^]
2014-10-31 15:58 marvintm Status resolved => closed
2014-10-31 15:58 marvintm Fixed in Version => RR14Q4
2014-11-03 11:19 hgbot Checkin
2014-11-03 11:19 hgbot Note Added: 0071340


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker