Openbravo Issue Tracking System - POS2
View Issue Details
0056427POS2Corepublic2024-09-10 18:072024-09-10 18:08
Rajesh_18 
Triage Platform Base 
highmajoralways
newopen 
5
 
 
No
0056427: When user action is cancelled Custom messages are not logged in terminal logs
When user action is cancelled Custom messages are not logged in terminal logs
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.
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 [^]
No tags attached.
related to feature request 0051274 closed gdagnesses Improve log when a user action is cancelled 
Issue History
2024-09-10 18:07Rajesh_18New Issue
2024-09-10 18:07Rajesh_18Assigned To => Triage Platform Base
2024-09-10 18:07Rajesh_18Triggers an Emergency Pack => No
2024-09-10 18:08Rajesh_18Relationship addedrelated to 0051274

There are no notes attached to this issue.