Openbravo Issue Tracking System - POS2 |
View Issue Details |
|
ID | Project | Category | View Status | Date Submitted | Last Update |
0050380 | POS2 | POS | public | 2022-09-30 13:52 | 2022-10-04 23:48 |
|
Reporter | AugustoMauch | |
Assigned To | AugustoMauch | |
Priority | normal | Severity | major | Reproducibility | have not tried |
Status | closed | Resolution | fixed | |
Platform | | OS | 5 | OS Version | |
Product Version | | |
Target Version | 22Q3.2 | Fixed in Version | 22Q3.2 | |
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 | 0050380: Keymap editor import entries should include an ID |
Description | When the processing of an import entry fails, the import entry manager will check the "id" property of the json object to properly manage the error. Note that this is not the id of the import entry (that one is stored in the messageId property) but a more business-oriented id
|
Steps To Reproduce | Open POS2
- Using the keymap editor, force an error i.e by throwing an exception in the KeymapLoader class
- Check that the following error is printed in the log:
org.codehaus.jettison.json.JSONException: JSONObject["id"] not found.
at org.codehaus.jettison.json.JSONObject.get(JSONObject.java:360)
at org.codehaus.jettison.json.JSONObject.getString(JSONObject.java:487)
at org.openbravo.mobile.core.process.DataSynchronizationProcess.saveRecord(DataSynchronizationProcess.java:244)
at org.openbravo.mobile.core.process.DataSynchronizationProcess.exec(DataSynchronizationProcess.java:156)
at org.openbravo.mobile.core.process.DataSynchronizationProcess.exec(DataSynchronizationProcess.java:88)
at org.openbravo.mobile.core.process.MobileImportEntryProcessorRunnable.processEntry(MobileImportEntryProcessorRunnable.java:57)
at org.openbravo.service.importprocess.ImportEntryProcessor$ImportEntryProcessRunnable.doRunCycle(ImportEntryProcessor.java:421)
at org.openbravo.service.importprocess.ImportEntryProcessor$ImportEntryProcessRunnable.run(ImportEntryProcessor.java:338)
at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515)
at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
at java.base/java.lang.Thread.run(Thread.java:829) |
Proposed Solution | Include an id in the request sent when saving a keymap editor change |
Additional Information | |
Tags | No tags attached. |
Relationships | |
Attached Files | |
|
Issue History |
Date Modified | Username | Field | Change |
2022-09-30 13:52 | AugustoMauch | New Issue | |
2022-09-30 13:52 | AugustoMauch | Assigned To | => AugustoMauch |
2022-09-30 13:52 | AugustoMauch | Triggers an Emergency Pack | => No |
2022-09-30 13:53 | hgbot | Note Added: 0141539 | |
2022-10-03 08:41 | AugustoMauch | Status | new => scheduled |
2022-10-03 09:25 | hgbot | Resolution | open => fixed |
2022-10-03 09:25 | hgbot | Status | scheduled => resolved |
2022-10-03 09:25 | hgbot | Fixed in Version | => 22Q3.2 |
2022-10-03 09:25 | hgbot | Note Added: 0141549 | |
2022-10-03 09:25 | hgbot | Note Added: 0141550 | |
2022-10-04 12:49 | hgbot | Note Added: 0141635 | |
2022-10-04 12:52 | hgbot | Note Added: 0141636 | |
2022-10-04 12:52 | hgbot | Note Added: 0141637 | |
2022-10-04 12:52 | AugustoMauch | Status | resolved => closed |
2022-10-04 23:48 | hgbot | Note Added: 0141656 | |
2022-10-04 23:48 | hgbot | Note Added: 0141657 | |
2022-10-04 23:48 | hgbot | Note Added: 0141658 | |
Notes |
|
(0141539)
|
hgbot
|
2022-09-30 13:53
|
|
|
|
(0141549)
|
hgbot
|
2022-10-03 09:25
|
|
|
|
(0141550)
|
hgbot
|
2022-10-03 09:25
|
|
|
|
(0141635)
|
hgbot
|
2022-10-04 12:49
|
|
|
|
(0141636)
|
hgbot
|
2022-10-04 12:52
|
|
|
|
(0141637)
|
hgbot
|
2022-10-04 12:52
|
|
|
|
(0141656)
|
hgbot
|
2022-10-04 23:48
|
|
|
|
(0141657)
|
hgbot
|
2022-10-04 23:48
|
|
|
|
(0141658)
|
hgbot
|
2022-10-04 23:48
|
|
|