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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0052814
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[POS2] Coreminorhave not tried2023-06-21 12:562023-06-28 12:57
ReporteralostaleView Statuspublic 
Assigned ToTriage Platform Base 
PriorityimmediateResolutionfixedFixed in Version
StatusclosedFix in branchFixed in SCM revision
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Review Assigned To
Regression levelProduction - QA Approved
Regression date2023-06-03
Regression introduced in release23Q2
Regression introduced by commithttps://gitlab.com/openbravo/product/pmods/org.openbravo.core2/-/commit/2790803e6a83e03ba0aec4f05009f236d32c8102 [^]
Triggers an Emergency PackNo
Summary

0052814: error saving "afc" terminal log

DescriptionWhen using pos2 some terminal log does not get properly inserted in DB.
Steps To ReproduceIt 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 SolutionImplement 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 [^]
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]
depends on backport 005281523Q2.2 closedTriage Platform Base POS2 error saving "afc" terminal log 
caused by feature request 0051274 closedgdagnesses POS2 Improve log when a user action is cancelled 
related to design defect 0052830 newRetail Retail Modules There should be no mentions of UserActions in mobile.core (TerminalLogEventProcessor) 

-  Notes
(0151466)
hgbot (developer)
2023-06-22 00:06

Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.mobile.core/-/merge_requests/556 [^]
(0151745)
hgbot (developer)
2023-06-28 12:57

Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.mobile.core/-/merge_requests/556 [^]
(0151746)
hgbot (developer)
2023-06-28 12:57

Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.mobile.core [^]
Changeset: 8d83b4c4535983d3ef6989111535cbcb873f2369
Author: Augusto Mauch <augusto.mauch@openbravo.com>
Date: 28-06-2023 10:57:31
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.mobile.core/-/commit/8d83b4c4535983d3ef6989111535cbcb873f2369 [^]

Fixes ISSUE-52814: 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 12:56 alostale New Issue
2023-06-21 12:56 alostale Assigned To => Triage Platform Base
2023-06-21 12:56 alostale Triggers an Emergency Pack => No
2023-06-21 12:58 alostale Regression level => Production - QA Approved
2023-06-21 12:58 alostale Regression date => 2023-06-03
2023-06-21 12:58 alostale Regression introduced in release => 23Q2
2023-06-21 12:58 alostale Regression introduced by commit => https://gitlab.com/openbravo/product/pmods/org.openbravo.core2/-/commit/2790803e6a83e03ba0aec4f05009f236d32c8102 [^]
2023-06-21 12:58 alostale Priority normal => immediate
2023-06-21 12:58 alostale Severity major => minor
2023-06-21 12:59 alostale Relationship added caused by 0051274
2023-06-21 13:00 alostale Status new => scheduled
2023-06-22 00:06 hgbot Note Added: 0151466
2023-06-22 14:11 cberner Relationship added related to 0052830
2023-06-28 12:57 hgbot Resolution open => fixed
2023-06-28 12:57 hgbot Status scheduled => closed
2023-06-28 12:57 hgbot Note Added: 0151745
2023-06-28 12:57 hgbot Fixed in Version => RR23Q4
2023-06-28 12:57 hgbot Note Added: 0151746


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker