Openbravo Issue Tracking System - Retail Modules
View Issue Details
0029811Retail ModulesWeb POSpublic2015-05-07 14:532016-10-27 21:46
Orekaria 
Retail 
normalmajoralways
newopen 
5
 
 
No
0029811: Better handling of critical, application breaking errors
Better handling of critical, application breaking errors

The problem is that if an unhandled exception is risen an error is being shown in the messages' bubble but it gives no information to the user about what actions should be done
provoke an unhandled error. e.g: add receipt.set('bp', null) to the 'requirementsAreMet' method of the 'toolbar-left.js' file:

      ...
      var receipt = model.get('order');
      receipt.set('bp', null);
      requirements.isReceipt = !OB.UTIL.isNullOrUndefined(receipt);
      ...

logging into the webpos will create a receipt with no business partner

verify that when a new product is added, an unhandled exception is thrown
verify that the message is shown in the messages' bubble
verify that the same message is shown again and again

show a popup to the user reporting about the error and the actions that should be taken

the actions could include or combine, reporting the system administrator, reloading the webpos, mark the error as not to be shown again
No tags attached.
related to defect 0029778 closed Retail Sometimes an enyo.js pageX exception is being thrown 
related to design defect 0034327 closed ranjith_qualiantech_com [UX] If popups are not working properly, an error message should be shown 
png Error_Reload_New-v2.1.png (96,314) 2016-10-27 21:08
https://issues.openbravo.com/file_download.php?file_id=9977&type=bug
png

png Error_Reload_New-v2.2.png (71,846) 2016-10-27 21:08
https://issues.openbravo.com/file_download.php?file_id=9978&type=bug
png

png WarningIcon.png (1,618) 2016-10-27 21:46
https://issues.openbravo.com/file_download.php?file_id=9979&type=bug
png
Issue History
2015-05-07 14:53OrekariaNew Issue
2015-05-07 14:53OrekariaAssigned To => Retail
2015-05-07 14:53OrekariaTriggers an Emergency Pack => No
2015-05-07 14:54OrekariaSteps to Reproduce Updatedbug_revision_view_page.php?rev_id=8473#r8473
2015-05-07 14:55OrekariaIssue Monitored: dmitry_mezentsev
2015-05-08 15:10OrekariaRelationship addedrelated to 0029778
2016-10-27 21:08dbazFile Added: Error_Reload_New-v2.1.png
2016-10-27 21:08dbazFile Added: Error_Reload_New-v2.2.png
2016-10-27 21:12dbazNote Added: 0090966
2016-10-27 21:46dbazFile Added: WarningIcon.png
2016-10-27 22:15dbazRelationship addedrelated to 0034327

Notes
(0090966)
dbaz   
2016-10-27 21:12   
Attached tentative mockups.

If the user decides to continue after the red popup, a warning should be shown in the SCAN area. If this warning box is pressed, the red popup will be shown again.