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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0027409
TypeCategorySeverityReproducibilityDate SubmittedLast Update
feature request[Retail Modules] Web POSmajoralways2014-08-22 02:452014-10-02 11:38
ReporterOrekariaView Statuspublic 
Assigned ToOrekaria 
PrioritynormalResolutionfixedFixed in VersionRR14Q4
StatusclosedFix in branchFixed in SCM revisioncfdf341d63b2
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

0027409: Stabilization: Add more and better log to help developers and support

DescriptionAdd more and better log to help developers and support
Steps To ReproduceAdd more and better log


Revisit the log levels:

Lower the "Loading data for ..." from info to trace
Lower the "loading..." from info to debug
Lower the "[""] is/are loaded" from info to trace
Change from warning to debug level, the "The following transaction was slow"

for the rest of messages, use common sense
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]
related to defect 0026890RR14Q3 closedmalsasua The console log shows too much info and with wrong levels of detail 
depends on feature request 0027329 newRetail Stabilization: Overhaul the loading process (since the url is entered until the webpos has loaded) 
depends on defect 0026919 closedOrekaria Stabilization: SQLTransaction errors shown on login 
depends on defect 0027419 closedmarvintm Stabilization: Remove or change the log level of the Bestdeal Case module messages 
depends on defect 0027986RR14Q4 closedOrekaria Stabilization: Revisit log levels after the introduction of the Debug mode 
has duplicate design defect 0027625RR14Q2.3 closedOrekaria Add log to help with the analysis of the underlying processes 
blocks defect 0027987 closedmarvintm Add console log output to the 'showError' and 'showWarning' methods 
Not all the children of this issue are yet resolved or closed.

-  Notes
(0070438)
hgbot (developer)
2014-09-26 15:39

Repository: erp/pmods/org.openbravo.mobile.core
Changeset: 3a26f7cfcfb3bf8344b40acfb84cfbbacafff212
Author: Rafa Alonso <rafael.alonso <at> openbravo.com>
Date: Fri Sep 26 15:36:56 2014 +0200
URL: http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/3a26f7cfcfb3bf8344b40acfb84cfbbacafff212 [^]

Fixes issue 27409: revisiting log levels

---
M web/org.openbravo.mobile.core/source/data/ob-datasource.js
M web/org.openbravo.mobile.core/source/utils/ob-debug.js
M web/org.openbravo.mobile.core/source/utils/ob-testregistry.js
---
(0070462)
hgbot (developer)
2014-09-27 23:18

Repository: erp/pmods/org.openbravo.retail.posterminal
Changeset: 485eec1ddb537191587748b36fe0c771bb8bafe7
Author: Rafa Alonso <rafael.alonso <at> openbravo.com>
Date: Sat Sep 27 23:17:43 2014 +0200
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/485eec1ddb537191587748b36fe0c771bb8bafe7 [^]

Related to issue 27409: the 'onerror' method for uncaught error messages within the WebPOS shows where they were catched

---
M web/org.openbravo.retail.posterminal/index.jsp
M web/org.openbravo.retail.posterminal/js/main.js
---
(0070464)
hgbot (developer)
2014-09-27 23:29

Repository: erp/pmods/org.openbravo.retail.posterminal
Changeset: e5b36d321d06d217eec55cc6a45ab3149c4a53ae
Author: Rafa Alonso <rafael.alonso <at> openbravo.com>
Date: Sat Sep 27 23:29:20 2014 +0200
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/e5b36d321d06d217eec55cc6a45ab3149c4a53ae [^]

Related to issue 27409: 'console.error' modified to 'OB.error' in 'login-model.js'

---
M web/org.openbravo.retail.posterminal/js/login/model/login-model.js
---
(0070465)
hgbot (developer)
2014-09-28 01:59

Repository: erp/pmods/org.openbravo.retail.posterminal
Changeset: ca58a30c2a8c2f36ba3792c510f92f183ad8d63f
Author: Rafa Alonso <rafael.alonso <at> openbravo.com>
Date: Sun Sep 28 01:59:02 2014 +0200
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/ca58a30c2a8c2f36ba3792c510f92f183ad8d63f [^]

Related to issue 27409: added more info to error messages

---
M web/org.openbravo.retail.posterminal/js/login/model/login-model.js
---
(0070466)
hgbot (developer)
2014-09-28 02:08

Repository: erp/pmods/org.openbravo.mobile.core
Changeset: cfdf341d63b260dbb41f76111ad00ec9b3d09c99
Author: Rafa Alonso <rafael.alonso <at> openbravo.com>
Date: Sun Sep 28 02:08:20 2014 +0200
URL: http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/cfdf341d63b260dbb41f76111ad00ec9b3d09c99 [^]

Fixes issue 27409: more and improved error messages
- show more error messages in ob-dal
- added more info to error messages in ob-terminal-model
- OB.error, OB.warn and OB.info have better log
- new support methods added in ob-utilities

---
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
---
(0070467)
hgbot (developer)
2014-09-28 02:57

Repository: erp/pmods/org.openbravo.mobile.core
Changeset: 9d055522e01a077582d8eb5385b83b208eb0dfdc
Author: Rafa Alonso <rafael.alonso <at> openbravo.com>
Date: Sun Sep 28 02:57:40 2014 +0200
URL: http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/9d055522e01a077582d8eb5385b83b208eb0dfdc [^]

Related to issue 27409: more and improved error messages
- OB.debug has been also refactored
- if in debug mode, all logs will be visible in the console
- some messages have been moved to debug

---
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
---
(0070468)
hgbot (developer)
2014-09-28 04:49

Repository: erp/pmods/org.openbravo.retail.posterminal
Changeset: 72921927ec17993b2ab023e576ea7eb553549b06
Author: Rafa Alonso <rafael.alonso <at> openbravo.com>
Date: Sun Sep 28 04:49:08 2014 +0200
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/72921927ec17993b2ab023e576ea7eb553549b06 [^]

Related to issue 27409: changed log level for some messages

---
M web/org.openbravo.retail.posterminal/js/login/model/login-model.js
M web/org.openbravo.retail.posterminal/js/model/executor.js
---
(0070477)
hgbot (developer)
2014-09-28 21:52

Repository: erp/pmods/org.openbravo.mobile.core
Changeset: 9a647ac7a4ce04b87cc3180d301ea0ccda5f7c4c
Author: Rafa Alonso <rafael.alonso <at> openbravo.com>
Date: Sun Sep 28 21:51:44 2014 +0200
URL: http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/9a647ac7a4ce04b87cc3180d301ea0ccda5f7c4c [^]

Related to issue 27409: better message stringifier for 'argumentsToStringifyed'

---
M web/org.openbravo.mobile.core/source/utils/ob-utilities.js
---
(0070478)
hgbot (developer)
2014-09-29 00:34

Repository: erp/pmods/org.openbravo.retail.posterminal
Changeset: 4a9f762dad492528d89dd7686bf4e742b93222c8
Author: Rafa Alonso <rafael.alonso <at> openbravo.com>
Date: Mon Sep 29 00:34:07 2014 +0200
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/4a9f762dad492528d89dd7686bf4e742b93222c8 [^]

Related to issue 27409: formatting

---
M web/org.openbravo.retail.posterminal/js/data/dataordersave.js
---
(0070480)
hgbot (developer)
2014-09-29 02:58

Repository: erp/pmods/org.openbravo.mobile.core
Changeset: 96af34fa3fce4cabca3a7fed68353950b9d6b6c5
Author: Rafa Alonso <rafael.alonso <at> openbravo.com>
Date: Mon Sep 29 02:58:27 2014 +0200
URL: http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/96af34fa3fce4cabca3a7fed68353950b9d6b6c5 [^]

Related to issue 27409: better message when the success callback raises an exception
- the code line in which the exception was provoked has been added to the message

---
M web/org.openbravo.mobile.core/source/data/ob-dal.js
---
(0070487)
hgbot (developer)
2014-09-29 12:02

Repository: erp/pmods/org.openbravo.retail.posterminal
Changeset: e932a25947ebba5c1c8f410659e8898e394b6cd6
Author: Rafa Alonso <rafael.alonso <at> openbravo.com>
Date: Mon Sep 29 12:01:53 2014 +0200
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/e932a25947ebba5c1c8f410659e8898e394b6cd6 [^]

Related to issue 27409: removed unnecessary error message now that the 'OB.Dal.find' method show standard log

---
M web/org.openbravo.retail.posterminal/js/login/model/login-model.js
---
(0070519)
hgbot (developer)
2014-09-29 23:23

Repository: erp/pmods/org.openbravo.mobile.core
Changeset: 6a04e8824aa5da6328ad6d376f98b0850debb89e
Author: Rafa Alonso <rafael.alonso <at> openbravo.com>
Date: Mon Sep 29 23:21:01 2014 +0200
URL: http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/6a04e8824aa5da6328ad6d376f98b0850debb89e [^]

Related to issue 27409: better log messages
- the stringifier creates more compressed information, an '*' flag is set at the end if the message is sent to the server
- OB.Dal error message changed to console
- the long attribute info is no longer shown, but the line is left uncommented for dev info
- if there is no renderMain method an exception is thrown while in developement

---
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
---
(0070522)
hgbot (developer)
2014-09-30 04:03

Repository: erp/pmods/org.openbravo.mobile.core
Changeset: 1fdcd8b29af1dd4ccd3a38b264f3c599d83e76b8
Author: Rafa Alonso <rafael.alonso <at> openbravo.com>
Date: Tue Sep 30 03:32:21 2014 +0200
URL: http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/1fdcd8b29af1dd4ccd3a38b264f3c599d83e76b8 [^]

Related to issue 27409: better log messages
- some parts of the stringified message were not shown in the browser.log (do not accept objects)

---
M web/org.openbravo.mobile.core/source/data/ob-dal.js
M web/org.openbravo.mobile.core/source/utils/ob-utilities.js
---
(0070524)
hgbot (developer)
2014-09-30 04:03

Repository: erp/pmods/org.openbravo.retail.posterminal
Changeset: 8eb24ba3ba275e185c6ec510402fb8ffb28579e9
Author: Rafa Alonso <rafael.alonso <at> openbravo.com>
Date: Mon Sep 29 23:22:45 2014 +0200
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/8eb24ba3ba275e185c6ec510402fb8ffb28579e9 [^]

Related to issue 27409: better log messages
- an exception is thrown when the 'terminal' is not loaded

---
M web/org.openbravo.retail.posterminal/js/login/model/login-model.js
---
(0070561)
hgbot (developer)
2014-09-30 15:39

Repository: erp/pmods/org.openbravo.mobile.core
Changeset: e68d94f8a084da134a72f1a86acbaf4ac5ad3214
Author: Rafa Alonso <rafael.alonso <at> openbravo.com>
Date: Tue Sep 30 15:39:16 2014 +0200
URL: http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/e68d94f8a084da134a72f1a86acbaf4ac5ad3214 [^]

Fixes issue 27466, related to issue 27409: Refactor for the navigation logic (IV, core)
- the database will be reopened after chrome closes it ('forcibly closing database')
- better logging for ob-dal
- the error when 'OB.Dal.find' fails because the table is still not present has been changed to warn
- the 'OB.Dal.save' now catch database transaction errors. this approach should be extended to any transaction
- more argument checks

---
M web/org.openbravo.mobile.core/source/data/ob-dal.js
M web/org.openbravo.mobile.core/source/model/ob-terminal-model.js
---
(0070607)
hgbot (developer)
2014-10-01 13:29

Repository: erp/pmods/org.openbravo.mobile.core
Changeset: 22c9c9f3742607793e43d393bf051ac5c6157826
Author: Rafa Alonso <rafael.alonso <at> openbravo.com>
Date: Wed Oct 01 13:29:20 2014 +0200
URL: http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/22c9c9f3742607793e43d393bf051ac5c6157826 [^]

Related to issue 27409: better log. argumentsToStringifyed algorithm improved

---
M web/org.openbravo.mobile.core/source/utils/ob-utilities.js
---
(0070621)
hgbot (developer)
2014-10-01 17:47

Repository: erp/pmods/org.openbravo.mobile.core
Changeset: 21cd2571b08c70811334ac3ce6d0d43e421e88c9
Author: Rafa Alonso <rafael.alonso <at> openbravo.com>
Date: Wed Oct 01 17:46:49 2014 +0200
URL: http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/21cd2571b08c70811334ac3ce6d0d43e421e88c9 [^]

Related to issue 27409: better log. 'getStackLinkBeforeCaller' inform when it was from an async response

---
M web/org.openbravo.mobile.core/source/utils/ob-utilities.js
---
(0070637)
hgbot (developer)
2014-10-02 03:33

Repository: erp/pmods/org.openbravo.retail.posterminal
Changeset: 6594c09851eee1607b5c3c00dd2738338ca8d03b
Author: Rafa Alonso <rafael.alonso <at> openbravo.com>
Date: Thu Oct 02 03:12:45 2014 +0200
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/6594c09851eee1607b5c3c00dd2738338ca8d03b [^]

Related to issue 27409: better log messages

---
M web/org.openbravo.retail.posterminal/js/login/model/login-model.js
---
(0070639)
hgbot (developer)
2014-10-02 03:34

Repository: erp/pmods/org.openbravo.mobile.core
Changeset: 7ba8b648a119e3081cfd13e4fbeefa4363007fd6
Author: Rafa Alonso <rafael.alonso <at> openbravo.com>
Date: Thu Oct 02 03:33:05 2014 +0200
URL: http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/7ba8b648a119e3081cfd13e4fbeefa4363007fd6 [^]

Related to issue 27409: better log messages

---
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
---
(0070655)
hgbot (developer)
2014-10-02 11:38

Repository: erp/pmods/org.openbravo.mobile.core
Changeset: d96ccab8e4c7558845f418a15aa04c4f12b7dd30
Author: Rafa Alonso <rafael.alonso <at> openbravo.com>
Date: Thu Oct 02 11:37:44 2014 +0200
URL: http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/d96ccab8e4c7558845f418a15aa04c4f12b7dd30 [^]

Related to issue 27409: better log messages
- removed duplicated log line

---
M web/org.openbravo.mobile.core/source/model/ob-terminal-model.js
---

- Issue History
Date Modified Username Field Change
2014-08-22 02:45 Orekaria New Issue
2014-08-22 02:45 Orekaria Assigned To => marvintm
2014-08-22 02:45 Orekaria Triggers an Emergency Pack => No
2014-08-22 02:46 Orekaria Relationship added related to 0026890
2014-08-22 02:46 Orekaria Relationship added blocks 0027329
2014-08-22 02:47 Orekaria Relationship added depends on 0026919
2014-08-22 10:59 Orekaria Relationship replaced depends on 0027329
2014-08-22 11:51 Orekaria Relationship added depends on 0027419
2014-09-22 16:24 mtaal Target Version RR14Q4 =>
2014-09-26 15:39 hgbot Checkin
2014-09-26 15:39 hgbot Note Added: 0070438
2014-09-26 15:39 hgbot Status new => resolved
2014-09-26 15:39 hgbot Resolution open => fixed
2014-09-26 15:39 hgbot Fixed in SCM revision => http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/3a26f7cfcfb3bf8344b40acfb84cfbbacafff212 [^]
2014-09-27 15:58 Orekaria Assigned To marvintm => Orekaria
2014-09-27 15:58 Orekaria Status resolved => new
2014-09-27 15:58 Orekaria Resolution fixed => open
2014-09-27 15:59 Orekaria Type defect => feature request
2014-09-27 15:59 Orekaria Summary Stabilization: The console log levels have to be revisited => Stabilization: Better log
2014-09-27 15:59 Orekaria Description Updated View Revisions
2014-09-27 15:59 Orekaria Steps to Reproduce Updated View Revisions
2014-09-27 16:01 Orekaria Summary Stabilization: Better log => Stabilization: More and better log
2014-09-27 16:01 Orekaria Description Updated View Revisions
2014-09-27 16:02 Orekaria Target Version => RR14Q4
2014-09-27 16:02 Orekaria Summary Stabilization: More and better log => Stabilization: Add more and better log to help developers and support
2014-09-27 23:18 hgbot Checkin
2014-09-27 23:18 hgbot Note Added: 0070462
2014-09-27 23:29 hgbot Checkin
2014-09-27 23:29 hgbot Note Added: 0070464
2014-09-28 01:59 hgbot Checkin
2014-09-28 01:59 hgbot Note Added: 0070465
2014-09-28 02:08 hgbot Checkin
2014-09-28 02:08 hgbot Note Added: 0070466
2014-09-28 02:08 hgbot Status new => resolved
2014-09-28 02:08 hgbot Resolution open => fixed
2014-09-28 02:08 hgbot Fixed in SCM revision http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/3a26f7cfcfb3bf8344b40acfb84cfbbacafff212 [^] => http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/cfdf341d63b260dbb41f76111ad00ec9b3d09c99 [^]
2014-09-28 02:57 hgbot Checkin
2014-09-28 02:57 hgbot Note Added: 0070467
2014-09-28 04:49 hgbot Checkin
2014-09-28 04:49 hgbot Note Added: 0070468
2014-09-28 21:52 hgbot Checkin
2014-09-28 21:52 hgbot Note Added: 0070477
2014-09-29 00:34 hgbot Checkin
2014-09-29 00:34 hgbot Note Added: 0070478
2014-09-29 02:58 hgbot Checkin
2014-09-29 02:58 hgbot Note Added: 0070480
2014-09-29 12:02 hgbot Checkin
2014-09-29 12:02 hgbot Note Added: 0070487
2014-09-29 23:23 hgbot Checkin
2014-09-29 23:23 hgbot Note Added: 0070519
2014-09-30 04:03 hgbot Checkin
2014-09-30 04:03 hgbot Note Added: 0070522
2014-09-30 04:03 hgbot Checkin
2014-09-30 04:03 hgbot Note Added: 0070524
2014-09-30 15:39 hgbot Checkin
2014-09-30 15:39 hgbot Note Added: 0070561
2014-10-01 13:29 hgbot Checkin
2014-10-01 13:29 hgbot Note Added: 0070607
2014-10-01 17:47 hgbot Checkin
2014-10-01 17:47 hgbot Note Added: 0070621
2014-10-02 03:33 hgbot Checkin
2014-10-02 03:33 hgbot Note Added: 0070637
2014-10-02 03:34 hgbot Checkin
2014-10-02 03:34 hgbot Note Added: 0070639
2014-10-02 11:34 marvintm Review Assigned To => marvintm
2014-10-02 11:34 marvintm Status resolved => closed
2014-10-02 11:34 marvintm Fixed in Version => RR14Q4
2014-10-02 11:38 hgbot Checkin
2014-10-02 11:38 hgbot Note Added: 0070655
2014-10-02 13:42 Orekaria Relationship added has duplicate 0027625
2014-10-27 12:05 Orekaria Relationship added blocks 0027986
2014-10-27 12:06 Orekaria Relationship replaced depends on 0027986
2014-10-27 13:05 Orekaria Relationship added blocks 0027987


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker