Openbravo Issue Tracking System - Retail Modules
View Issue Details
0027986Retail ModulesWeb POSpublic2014-10-27 11:552014-11-03 11:19
Orekaria 
Orekaria 
normalmajoralways
closedfixed 
5
 
RR14Q4RR14Q4 
marvintm
No
0027986: Stabilization: Revisit log levels after the introduction of the Debug mode
Revisit log levels after the introduction of the Debug mode
Verify the above messages in the browser console log
Verify the saved log level in the server
change 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.');
No tags attached.
depends on feature request 0027417 closed Orekaria Stabilization: add a main.js file to any module in which centralize versions, deprecations, etc 
related to defect 0027987 closed marvintm Add console log output to the 'showError' and 'showWarning' methods 
blocks feature request 0027409RR14Q4 closed Orekaria Stabilization: Add more and better log to help developers and support 
blocks feature request 0027329 new Retail Stabilization: Overhaul the loading process (since the url is entered until the webpos has loaded) 
Issue History
2014-10-27 11:55OrekariaNew Issue
2014-10-27 11:55OrekariaAssigned To => Orekaria
2014-10-27 11:55OrekariaTriggers an Emergency Pack => No
2014-10-27 12:04OrekariaRelationship addedrelated to 0027569
2014-10-27 12:05OrekariaRelationship addeddepends on 0027409
2014-10-27 12:05OrekariaRelationship deletedrelated to 0027569
2014-10-27 12:06OrekariaRelationship replacedblocks 0027409
2014-10-27 12:07OrekariaSummaryRevisit log levels after the introduction of the Debug mode => Stabilization: Revisit log levels after the introduction of the Debug mode
2014-10-27 12:07OrekariaDescription Updatedbug_revision_view_page.php?rev_id=6898#r6898
2014-10-27 12:07OrekariaProposed Solution updated
2014-10-27 12:13OrekariaReview Assigned To => marvintm
2014-10-27 13:05OrekariaRelationship addedrelated to 0027987
2014-10-27 15:07hgbotCheckin
2014-10-27 15:07hgbotNote Added: 0071196
2014-10-27 15:07hgbotStatusnew => resolved
2014-10-27 15:07hgbotResolutionopen => fixed
2014-10-27 15:07hgbotFixed in SCM revision => http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/1796fdc36f3a050b192c7d1e5adf14ff4f866126 [^]
2014-10-27 15:07hgbotCheckin
2014-10-27 15:07hgbotNote Added: 0071197
2014-10-27 15:07hgbotFixed in SCM revisionhttp://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:14OrekariaStatusresolved => new
2014-10-31 09:14OrekariaResolutionfixed => open
2014-10-31 09:14OrekariaRelationship addedblocks 0027329
2014-10-31 09:15OrekariaRelationship addeddepends on 0027417
2014-10-31 09:48hgbotCheckin
2014-10-31 09:48hgbotNote Added: 0071295
2014-10-31 09:48hgbotStatusnew => resolved
2014-10-31 09:48hgbotResolutionopen => fixed
2014-10-31 09:48hgbotFixed in SCM revisionhttp://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:48hgbotCheckin
2014-10-31 09:48hgbotNote Added: 0071297
2014-10-31 09:48hgbotFixed in SCM revisionhttp://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:58marvintmStatusresolved => closed
2014-10-31 15:58marvintmFixed in Version => RR14Q4
2014-11-03 11:19hgbotCheckin
2014-11-03 11:19hgbotNote Added: 0071340

Notes
(0071196)
hgbot   
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   
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   
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   
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   
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
---