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

View Revisions: Issue #52418 Back to Issue ]
Summary 0052418: Errors in terminal properties are not properly managed in the UI
Revision 2023-05-11 12:29 by caristu
Steps To Reproduce 1- Apply the attached patch in org.openbravo.retail.posterminal module to force an error during the calculation of the terminal properties
2- Do a fresh login in POS2, the loading gets stuck without information about the error
Revision 2023-05-11 12:29 by caristu
Description When there is an error thrown during the calculation of the terminal properties, it is not being properly managed in react POS.

When this happens in enyo pos a dialog is displayed to the user informing about the error (see attached), and after clicking OK to close the dialog the login screen is shown again, preventing the access to the application.

Note that the problem happens when the masterdata is reloaded as part of the login, in that case the exception is catched and logged at this point[1] without providing any feedback in the UI. In case the masterdata is not refreshed during the login, the error information is correctly shown in the UI.

[1] https://gitlab.com/openbravo/product/pmods/org.openbravo.core2/-/blob/master/web-jspack/org.openbravo.core2/src/core/terminal/TerminalDataMasterdataHooks.js#L54 [^]
Revision 2023-05-11 12:19 by caristu
Steps To Reproduce 1- Apply the attached patch in org.openbravo.retail.posterminal module to force an error during the calculation of the terminal properties
2- Try to login in POS2, the loading gets stuck without information about the error
Revision 2023-05-11 12:17 by caristu
Steps To Reproduce 1- Apply the attached patch in org.openbravo.retail.posterminal module to force an error during the calculation of the terminal properties
2- Try to login in POS2
Revision 2023-05-11 12:16 by caristu
Description When there is an error thrown during the calculation of the terminal properties, it is not being properly managed in react POS.

When this happens in enyo pos a dialog is displayed to the user informing about the error (see attached), and after clicking OK to close the dialog the login screen is shown again, preventing the access to the application.
Revision 2023-05-11 12:16 by caristu
Description When there is an error thrown during the calculation of the terminal properties, it is not being properly managed in react POS.

When this happens in enyo pos a dialog is displayed to the user informing abouth the error, and after clicking OK to close the dialog the login screen is shown again, preventing the access to the application.


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker