Openbravo Issue Tracking System - Retail Modules
View Issue Details
0052830Retail ModulesWeb POSpublic2023-06-22 14:052023-06-22 14:11
cberner 
Retail 
normalminorhave not tried
newopen 
5
 
 
No
0052830: There should be no mentions of UserActions in mobile.core (TerminalLogEventProcessor)
There are mentions of UserActions in TerminalLogEventProcessor.java to allow processing log of different types for user actions. This should not be there, as that doesn't exist in mobile.core or the modules that this one extends.

This logic should be made extendable and we should be able to add extra log types to be processed by terminal log from other modules.

Keeping the current behaviour means that each time a new terminal log user action type is added to core2/pos2, we would have a problem because it is not part of TerminalLogEventProcessor and will result in it not being properly handled or saved.

TerminalLogEventProcessor: https://gitlab.com/openbravo/product/pmods/org.openbravo.mobile.core/-/blob/0dc40b12e05dd8ed9d15cdde7a8c672ae2a69de7/src/org/openbravo/mobile/core/terminallog/TerminalLogEventProcessor.java#L121 [^]
-
No tags attached.
related to defect 0052814 closed Triage Platform Base POS2 error saving "afc" terminal log 
Issue History
2023-06-22 14:05cbernerNew Issue
2023-06-22 14:05cbernerAssigned To => Retail
2023-06-22 14:05cbernerTriggers an Emergency Pack => No
2023-06-22 14:11cbernerRelationship addedrelated to 0052814

There are no notes attached to this issue.