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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0050736
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Retail Modules] Web POSmajorhave not tried2022-11-04 13:512022-11-04 14:56
ReporteregoitzView Statuspublic 
Assigned Toranjith_qualiantech_com 
PriorityurgentResolutionfixedFixed in VersionRR23Q1
StatusclosedFix in branchFixed in SCM revision
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Review Assigned To
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0050736: An unknown error on the orderloader, does not create the import entry due to a known issue

DescriptionWhen 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 Reproducenot 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 SolutionMake the process more robuts.

If the original orderline does not exists, not fail, but generate the ewi.

TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]

-  Notes
(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 [^]

- Issue History
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 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 Note Added: 0143116
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
Powered by Mantis Bugtracker