Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
ID | ||||||||
0039802 | ||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||
backport | [Retail Modules] Web POS | major | always | 2018-09-25 17:48 | 2018-12-27 10:27 | |||
Reporter | malsasua | View Status | public | |||||
Assigned To | ranjith_qualiantech_com | |||||||
Priority | normal | Resolution | fixed | Fixed in Version | RR18Q3.4 | |||
Status | closed | Fix in branch | Fixed in SCM revision | 64c74df0d918 | ||||
Projection | none | ETA | none | Target Version | RR18Q3.4 | |||
OS | Any | Database | Any | Java version | ||||
OS Version | Database version | Ant version | ||||||
Product Version | SCM revision | |||||||
Merge Request Status | ||||||||
Review Assigned To | marvintm | |||||||
OBNetwork customer | OBPS | |||||||
Support ticket | 4459 | |||||||
Regression level | ||||||||
Regression date | ||||||||
Regression introduced in release | ||||||||
Regression introduced by commit | ||||||||
Triggers an Emergency Pack | No | |||||||
Summary | 0039802: Error using at the same time Cancel & Replace and Save Removed Ticket functionalities | |||||||
Description | When Save Removed Ticket functionality is enabled, a receipt is created using Cancel and replace functionality, and a line is removed in the ticket, the ticket is stuck in Error While Importing window | |||||||
Steps To Reproduce | [BO] . enable Web POS Save Removed Tickets functionality [POS] . create new ticket T1 . add new product P1 . complete ticket -> ticket is synced in BO . load ticket T1 with Open Receipt functionality . click in Cancel and Replace option -> new ticket is created T1-1 . add new product P2 . delete product P2 . delete ticket T1-1 [BO] . go to Error While Importing window -> ticket T1-1 is in this window with error: org.openbravo.base.exception.OBException: Error in OrderLoader: null at org.openbravo.retail.posterminal.OrderLoader.saveRecord(OrderLoader.java:534) at org.openbravo.mobile.core.process.DataSynchronizationProcess.saveRecord(DataSynchronizationProcess.java:200) at org.openbravo.mobile.core.process.DataSynchronizationProcess.exec(DataSynchronizationProcess.java:154) at org.openbravo.mobile.core.process.DataSynchronizationProcess.exec(DataSynchronizationProcess.java:86) at org.openbravo.mobile.core.process.MobileImportEntryProcessorRunnable.processEntry(MobileImportEntryProcessorRunnable.java:53) at org.openbravo.retail.posterminal.importprocess.OrderImportEntryProcessor$OrderLoaderRunnable.processEntry(OrderImportEntryProcessor.java:59) at org.openbravo.service.importprocess.ImportEntryProcessor$ImportEntryProcessRunnable.doRunCycle(ImportEntryProcessor.java:367) at org.openbravo.service.importprocess.ImportEntryProcessor$ImportEntryProcessRunnable.run(ImportEntryProcessor.java:288) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) at java.lang.Thread.run(Thread.java:748) Caused by: java.lang.NullPointerException at org.openbravo.retail.posterminal.OrderLoader.saveRecord(OrderLoader.java:465) ... 12 more | |||||||
Tags | No tags attached. | |||||||
Attached Files | ||||||||
![]() |
||||||||
|
![]() |
|
(0108603) hgbot (developer) 2018-12-14 10:59 |
Repository: retail/backports/3.0RR18Q3.4/org.openbravo.retail.posterminal Changeset: 64c74df0d918194d0a8d0a3c4d56bbe9aef7f51e Author: Ranjith S R <ranjith <at> qualiantech.com> Date: Fri Dec 14 15:28:47 2018 +0530 URL: http://code.openbravo.com/retail/backports/3.0RR18Q3.4/org.openbravo.retail.posterminal/rev/64c74df0d918194d0a8d0a3c4d56bbe9aef7f51e [^] Fixed issue 39802 : Cashup ID should be updated for Cancelled Order from json data instead of cashup info * JSON data should not be updated while savng record in OrderLoader * JSON data Orderlines should not be updated with deletedLines because if any error occurs jsondata will be saved to dataentry for reprocess which may have duplicate records of deletedLine in lines data. --- M src/org/openbravo/retail/posterminal/OrderLoader.java --- |
(0108604) hgbot (developer) 2018-12-14 10:59 |
Repository: retail/backports/3.0RR18Q3.4/pi-mobile Changeset: cdc990e1691cf3b538e411a826b37138e749d1eb Author: Ranjith S R <ranjith <at> qualiantech.com> Date: Fri Dec 14 15:29:19 2018 +0530 URL: http://code.openbravo.com/retail/backports/3.0RR18Q3.4/pi-mobile/rev/cdc990e1691cf3b538e411a826b37138e749d1eb [^] Verifies issue 39802 : Added Automated Test 'I39802_VerifyCancelReplaceWithSaveRemovePref' --- A src-test/org/openbravo/test/mobile/retail/pack/selenium/tests/cancelandreplace/I39802_VerifyCancelReplaceWithSaveRemovePref.java --- |
(0108765) hgbot (developer) 2018-12-27 10:27 |
Repository: tools/automation/pi-mobile Changeset: cdc990e1691cf3b538e411a826b37138e749d1eb Author: Ranjith S R <ranjith <at> qualiantech.com> Date: Fri Dec 14 15:29:19 2018 +0530 URL: http://code.openbravo.com/tools/automation/pi-mobile/rev/cdc990e1691cf3b538e411a826b37138e749d1eb [^] Verifies issue 39802 : Added Automated Test 'I39802_VerifyCancelReplaceWithSaveRemovePref' --- A src-test/org/openbravo/test/mobile/retail/pack/selenium/tests/cancelandreplace/I39802_VerifyCancelReplaceWithSaveRemovePref.java --- |
![]() |
|||
Date Modified | Username | Field | Change |
2018-12-13 17:58 | marvintm | Type | defect => backport |
2018-12-13 17:58 | marvintm | Target Version | => RR18Q3.4 |
2018-12-14 10:59 | hgbot | Checkin | |
2018-12-14 10:59 | hgbot | Note Added: 0108603 | |
2018-12-14 10:59 | hgbot | Status | scheduled => resolved |
2018-12-14 10:59 | hgbot | Resolution | open => fixed |
2018-12-14 10:59 | hgbot | Fixed in SCM revision | http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/1e81317f98de8f93ade73734f15864d98e11473f [^] => http://code.openbravo.com/retail/backports/3.0RR18Q3.4/org.openbravo.retail.posterminal/rev/64c74df0d918194d0a8d0a3c4d56bbe9aef7f51e [^] |
2018-12-14 10:59 | hgbot | Checkin | |
2018-12-14 10:59 | hgbot | Note Added: 0108604 | |
2018-12-18 12:48 | ngarcia | Issue Monitored: ngarcia | |
2018-12-24 14:30 | marvintm | Status | resolved => closed |
2018-12-24 14:30 | marvintm | Fixed in Version | => RR18Q3.4 |
2018-12-27 10:27 | hgbot | Checkin | |
2018-12-27 10:27 | hgbot | Note Added: 0108765 |
Copyright © 2000 - 2009 MantisBT Group |