Openbravo Issue Tracking System - Retail Modules |
View Issue Details |
|
ID | Project | Category | View Status | Date Submitted | Last Update |
0045166 | Retail Modules | Web POS | public | 2020-10-01 11:20 | 2020-10-09 07:37 |
|
Reporter | ngarcia | |
Assigned To | prakashmurugesan88 | |
Priority | urgent | Severity | major | Reproducibility | always |
Status | closed | Resolution | fixed | |
Platform | | OS | 5 | OS Version | |
Product Version | | |
Target Version | | Fixed in Version | RR21Q1 | |
Merge Request Status | approved |
Review Assigned To | |
OBNetwork customer | Gold |
Support ticket | 18621 |
Regression level | |
Regression date | |
Regression introduced in release | |
Regression introduced by commit | |
Triggers an Emergency Pack | No |
|
Summary | 0045166: Exception is not correctly thrown in createNewShipment function of ShipmentUtils class |
Description | Exception is not correctly thrown in createNewShipment function of ShipmentUtils class. It captures the exceptions and it shows the following error message in the Error While Importing POS Data with no detail:
Error in OrderLoader: Error when creating the shipment: org.openbravo.base.exception.OBException: Error in OrderLoader when getting stock for product error
The error message is raised in callProcessGetStock of ShipmentUtils class. The StockUtils.getStock function is called there. And then, StockUtilsData.getStock function is called and it includes a new DalConnectionProvider(true) that does a flush (this is why the exception for other flows can be raised here) |
Steps To Reproduce | N/A |
Proposed Solution | Check changing the following line:
throw new OBException("Error when creating the shipment: " + e);
with
throw new OBException("Error when creating the shipment: ", e); |
Additional Information | |
Tags | No tags attached. |
Relationships | |
Attached Files | |
|
Issue History |
Date Modified | Username | Field | Change |
2020-10-01 11:20 | ngarcia | New Issue | |
2020-10-01 11:20 | ngarcia | Assigned To | => Retail |
2020-10-01 11:20 | ngarcia | OBNetwork customer | => Gold |
2020-10-01 11:20 | ngarcia | Support ticket | => 18621 |
2020-10-01 11:20 | ngarcia | Resolution time | => 1603317600 |
2020-10-01 11:20 | ngarcia | Triggers an Emergency Pack | => No |
2020-10-01 11:25 | ngarcia | Issue Monitored: ngarcia | |
2020-10-01 11:41 | ngarcia | Description Updated | bug_revision_view_page.php?rev_id=21764#r21764 |
2020-10-08 12:35 | prakashmurugesan88 | Assigned To | Retail => prakashmurugesan88 |
2020-10-08 15:47 | prakashmurugesan88 | Status | new => scheduled |
2020-10-08 16:48 | hgbot | Merge Request Status | => open |
2020-10-08 16:48 | hgbot | Note Added: 0123625 | |
2020-10-09 07:36 | hgbot | Merge Request Status | open => approved |
2020-10-09 07:37 | hgbot | Resolution | open => fixed |
2020-10-09 07:37 | hgbot | Status | scheduled => closed |
2020-10-09 07:37 | hgbot | Note Added: 0123631 | |
2020-10-09 07:37 | hgbot | Fixed in Version | => RR21Q1 |
2020-10-09 07:37 | hgbot | Note Added: 0123632 | |