Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
ID | ||||||||
0050736 | ||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||
defect | [Retail Modules] Web POS | major | have not tried | 2022-11-04 13:51 | 2022-11-04 14:56 | |||
Reporter | egoitz | View Status | public | |||||
Assigned To | ranjith_qualiantech_com | |||||||
Priority | urgent | Resolution | fixed | Fixed in Version | RR23Q1 | |||
Status | closed | Fix in branch | Fixed in SCM revision | |||||
Projection | none | ETA | none | Target Version | ||||
OS | Any | Database | Any | Java version | ||||
OS Version | Database version | Ant version | ||||||
Product Version | SCM revision | |||||||
Merge Request Status | approved | |||||||
Review Assigned To | ||||||||
OBNetwork customer | Gold | |||||||
Support ticket | 51923 | |||||||
Regression level | ||||||||
Regression date | ||||||||
Regression introduced in release | ||||||||
Regression introduced by commit | ||||||||
Triggers an Emergency Pack | No | |||||||
Summary | 0050736: An unknown error on the orderloader, does not create the import entry due to a known issue | |||||||
Description | When executeing the orderloader to promote aimport entry to order, there is an unkown error. That forces the execution of the POSDataSynchronizationErrorHandler to generate the EWI, but there is an error generating the obpos_errors_line that make the process to fail, so EWI is not created and the data import entry is keep in error. Later putting back to initial the process fails. | |||||||
Steps To Reproduce | not steps. Need to check the code. STack trace: java.lang.NullPointerException at org.openbravo.retail.posterminal.POSDataSynchronizationErrorHandler.handleError(POSDataSynchronizationErrorHandler.java:131) at org.openbravo.retail.posterminal.POSDataSynchronizationErrorHandler$Proxy$_$$_WeldClientProxy.handleError(Unknown Source) at org.openbravo.mobile.core.process.DataSynchronizationProcess.handleError(DataSynchronizationProcess.java:389) at org.openbravo.mobile.core.process.DataSynchronizationProcess.saveRecord(DataSynchronizationProcess.java:253) 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.retail.posterminal.importprocess.OrderImportEntryProcessor$OrderLoaderRunnable.processEntry(OrderImportEntryProcessor.java:64) 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 | Make the process more robuts. If the original orderline does not exists, not fail, but generate the ewi. | |||||||
Tags | No tags attached. | |||||||
Attached Files | ||||||||
![]() |
|
![]() |
|
(0143116) hgbot (developer) 2022-11-04 14:52 |
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/merge_requests/970 [^] |
(0143117) hgbot (developer) 2022-11-04 14:56 |
Directly closing issue as related merge request is already approved. Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal [^] Changeset: ce18b6d2fb9bade90cb54ba0621c34730842200e Author: Ranjith S R <ranjith@qualiantech.com> Date: 04-11-2022 13:56:21 URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/commit/ce18b6d2fb9bade90cb54ba0621c34730842200e [^] Fixed ISSUE-50736: OrderLine should be validated before adding to ErrorLine list --- M src/org/openbravo/retail/posterminal/POSDataSynchronizationErrorHandler.java --- |
(0143118) hgbot (developer) 2022-11-04 14:56 |
Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/merge_requests/970 [^] |
![]() |
|||
Date Modified | Username | Field | Change |
2022-11-04 13:51 | egoitz | New Issue | |
2022-11-04 13:51 | egoitz | Assigned To | => Retail |
2022-11-04 13:51 | egoitz | OBNetwork customer | => Gold |
2022-11-04 13:51 | egoitz | Support ticket | => 51923 |
2022-11-04 13:51 | egoitz | Triggers an Emergency Pack | => No |
2022-11-04 14:08 | ranjith_qualiantech_com | Assigned To | Retail => ranjith_qualiantech_com |
2022-11-04 14:08 | ranjith_qualiantech_com | Status | new => scheduled |
2022-11-04 14:52 | hgbot | Merge Request Status | => open |
2022-11-04 14:52 | hgbot | Note Added: 0143116 | |
2022-11-04 14:56 | hgbot | Merge Request Status | open => approved |
2022-11-04 14:56 | hgbot | Resolution | open => fixed |
2022-11-04 14:56 | hgbot | Status | scheduled => closed |
2022-11-04 14:56 | hgbot | Fixed in Version | => RR23Q1 |
2022-11-04 14:56 | hgbot | Note Added: 0143117 | |
2022-11-04 14:56 | hgbot | Note Added: 0143118 |
Copyright © 2000 - 2009 MantisBT Group |