Openbravo Issue Tracking System - POS2 | ||||||||||||
View Issue Details | ||||||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | |||||||
0056427 | POS2 | Core | public | 2024-09-10 18:07 | 2024-09-10 18:08 | |||||||
Reporter | Rajesh_18 | |||||||||||
Assigned To | Triage Platform Base | |||||||||||
Priority | high | Severity | major | Reproducibility | always | |||||||
Status | new | Resolution | open | |||||||||
Platform | OS | 5 | OS Version | |||||||||
Product Version | ||||||||||||
Target Version | Fixed in Version | |||||||||||
Merge Request Status | ||||||||||||
Review Assigned To | ||||||||||||
OBNetwork customer | ||||||||||||
Support ticket | ||||||||||||
Regression level | ||||||||||||
Regression date | ||||||||||||
Regression introduced in release | ||||||||||||
Regression introduced by commit | ||||||||||||
Triggers an Emergency Pack | No | |||||||||||
Summary | 0056427: When user action is cancelled Custom messages are not logged in terminal logs | |||||||||||
Description | When user action is cancelled Custom messages are not logged in terminal logs | |||||||||||
Steps To Reproduce | 1.Login into pos2 2.In any useraction, try to cancel the userAction by throwing this exception "throw new OB.App.Class.ActionSilentlyCanceled('UserAction is cancelled')" 3.The message 'UserAction is cancelled' is not logged in terminal log. | |||||||||||
Proposed Solution | https://issues.openbravo.com/view.php?id=51274. [^] In this issue, we have improved logs allowing developer to throw custom messages when userAction is canceled. The message is take from the function "getCancellationDebugMessage()" https://gitlab.com/openbravo/product/pmods/org.openbravo.core2/-/blob/master/web-jspack/org.openbravo.core2/src/core/user-action/UserAction.js#L255 [^] Unfortunately, The function is missing in class "ActionCanceled" We need to add this function https://gitlab.com/openbravo/product/pmods/org.openbravo.mobile.core/-/merge_requests/463/diffs#a70b07fd2b10b7dccb00258c92f9995baef8ffa7_33_40 [^] | |||||||||||
Additional Information | ||||||||||||
Tags | No tags attached. | |||||||||||
Relationships |
| |||||||||||
Attached Files | ||||||||||||
Issue History | ||||||||||||
Date Modified | Username | Field | Change | |||||||||
2024-09-10 18:07 | Rajesh_18 | New Issue | ||||||||||
2024-09-10 18:07 | Rajesh_18 | Assigned To | => Triage Platform Base | |||||||||
2024-09-10 18:07 | Rajesh_18 | Triggers an Emergency Pack | => No | |||||||||
2024-09-10 18:08 | Rajesh_18 | Relationship added | related to 0051274 |
There are no notes attached to this issue. |