Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
ID | ||||||||
0052815 | ||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||
backport | [POS2] Core | minor | have not tried | 2023-06-21 12:56 | 2023-06-28 12:58 | |||
Reporter | alostale | View Status | public | |||||
Assigned To | Triage Platform Base | |||||||
Priority | immediate | Resolution | fixed | Fixed in Version | ||||
Status | closed | Fix in branch | Fixed in SCM revision | |||||
Projection | none | ETA | none | Target Version | 23Q2.2 | |||
OS | Any | Database | Any | Java version | ||||
OS Version | Database version | Ant version | ||||||
Product Version | SCM revision | |||||||
Review Assigned To | ||||||||
Regression level | Production - QA Approved | |||||||
Regression date | 2023-06-03 | |||||||
Regression introduced in release | 23Q2 | |||||||
Regression introduced by commit | https://gitlab.com/openbravo/product/pmods/org.openbravo.core2/-/commit/2790803e6a83e03ba0aec4f05009f236d32c8102 [^] | |||||||
Triggers an Emergency Pack | No | |||||||
Summary | 0052815: error saving "afc" terminal log | |||||||
Description | When using pos2 some terminal log does not get properly inserted in DB. | |||||||
Steps To Reproduce | It can be seen in openbravo.log from livebuilds pos2 there are logs like: WARN org.openbravo.mobile.core.terminallog.TerminalLogEventProcessor - Event afc no supported ERROR org.openbravo.mobile.core.terminallog.StoreTerminalLogEventInDatabase - Could not save UserEvent log with info: ... For example, one of the problematic events would be: { "d": 1687340787953, "o": true, "n": "OBPOS2_DeleteTicket", "e": "action", "c": "792CD0206CBEEFA0BAB837F8AA9F3BBF", "i": "userActionsInProgress: [\"OBPOS2_DeleteTicket\"]", "t": "afc" } | |||||||
Proposed Solution | Implement afc event type in TerminalLogEventProcessor [1]. [1] https://gitlab.com/openbravo/product/pmods/org.openbravo.mobile.core/-/blob/d4a4e06f137cc0450d95fdded7191f1529f9480d/src/org/openbravo/mobile/core/terminallog/TerminalLogEventProcessor.java#L150 [^] | |||||||
Tags | No tags attached. | |||||||
Attached Files | ||||||||
Relationships [ Relation Graph ] [ Dependency Graph ] | ||||||||
|
Notes | |
(0151477) hgbot (developer) 2023-06-22 09:32 |
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.mobile.core/-/merge_requests/557 [^] |
(0151747) hgbot (developer) 2023-06-28 12:58 |
Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.mobile.core/-/merge_requests/557 [^] |
(0151748) hgbot (developer) 2023-06-28 12:58 |
Directly closing issue as related merge request is already approved. Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.mobile.core [^] Changeset: b9e8fa55fcc250ab586cbe0e8c6f0cccb1913992 Author: Augusto Mauch <augusto.mauch@openbravo.com> Date: 22-06-2023 14:09:16 URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.mobile.core/-/commit/b9e8fa55fcc250ab586cbe0e8c6f0cccb1913992 [^] Fixes ISSUE-52815: User action cancellation messages are not being stored in logclient The search key of those messages (afc) were not being taken into account, and those messages where being discarded Also adds a commentary to explain usage of user actions in mobile.core, which shouldn't be present here. --- M src/org/openbravo/mobile/core/terminallog/TerminalLogEventProcessor.java --- |
Issue History | |||
Date Modified | Username | Field | Change |
2023-06-21 13:00 | alostale | Type | defect => backport |
2023-06-21 13:00 | alostale | Target Version | => 23Q2.2 |
2023-06-22 09:32 | hgbot | Note Added: 0151477 | |
2023-06-28 12:58 | hgbot | Note Added: 0151747 | |
2023-06-28 12:58 | hgbot | Resolution | open => fixed |
2023-06-28 12:58 | hgbot | Status | scheduled => closed |
2023-06-28 12:58 | hgbot | Fixed in Version | => RR23Q2.2 |
2023-06-28 12:58 | hgbot | Note Added: 0151748 |
Copyright © 2000 - 2009 MantisBT Group |