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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0023873
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Retail Modules] Web POSminoralways2013-05-22 09:172013-05-22 09:20
ReporterOrekariaView Statuspublic 
Assigned Tomarvintm 
PrioritynormalResolutionopenFixed in Version
StatusnewFix in branchFixed in SCM revision
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Review Assigned To
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0023873: The global error manager's errors are not handled

DescriptionThe global error manager's errors are not handled
Steps To Reproducein the ob-utiliesui.js file...
in the OB.UTIL.showError() function...
insert a line of code that raises an error

  

Proposed Solution  // alert all errors
  window.onerror = function (e) {
    try {
      if (typeof (e) === 'string') {
        OB.UTIL.showError(e);
      }
    } catch (err) {
      // the error handler is forbidden to raise any further errors
      console.log('The global error manager has caused an error: ' + err);
    }
  };
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]

-  Notes
There are no notes attached to this issue.

- Issue History
Date Modified Username Field Change
2013-05-22 09:17 Orekaria New Issue
2013-05-22 09:17 Orekaria Assigned To => marvintm
2013-05-22 09:19 Orekaria Steps to Reproduce Updated View Revisions
2013-05-22 09:20 Orekaria Summary The global error manager errors are not handled => The global error manager' errors are not handled
2013-05-22 09:20 Orekaria Description Updated View Revisions
2013-05-22 09:20 Orekaria Summary The global error manager' errors are not handled => The global error manager's errors are not handled
2013-05-22 09:20 Orekaria Description Updated View Revisions


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker