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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0028837
TypeCategorySeverityReproducibilityDate SubmittedLast Update
design defect[Retail Modules] Web POSminorhave not tried2015-02-02 13:042015-02-04 13:41
ReporterrafademiguelView Statuspublic 
Assigned Torafademiguel 
PrioritynormalResolutionfixedFixed in VersionRR15Q2
StatusclosedFix in branchFixed in SCM revisionc6b9fda1c1fc
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Review Assigned Tomarvintm
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0028837: Order Loader does not show the real error in openbravo.log

DescriptionSometimes the order Loader does not show the real error in openbravo.log

If you get an error on method saveRecord of OrderLoader you will see in the log:

Could not execute JDBC batch update. But you don't see the real error even in the NextException method.

This is because the finally statement performs a flush and, if the flush raise an exception, the real exception get lost.
Steps To ReproduceGet an error in the saveRecord of OrderLoader.

Look at openbravo.log
Proposed SolutionCatch the exception and log it before the flush.
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]

-  Notes
(0073984)
hgbot (developer)
2015-02-02 13:08

Repository: erp/pmods/org.openbravo.retail.posterminal
Changeset: c6b9fda1c1fcd3a6802f9ac5c80997bae81ac7ba
Author: Rafa de Miguel <rafael.demiguel <at> openbravo.com>
Date: Mon Feb 02 13:07:43 2015 +0100
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/c6b9fda1c1fcd3a6802f9ac5c80997bae81ac7ba [^]

Fixed issue 28837: Order Loader does not show the real error in openbravo.log

---
M src/org/openbravo/retail/posterminal/OrderLoader.java
---

- Issue History
Date Modified Username Field Change
2015-02-02 13:04 rafademiguel New Issue
2015-02-02 13:04 rafademiguel Assigned To => marvintm
2015-02-02 13:04 rafademiguel Triggers an Emergency Pack => No
2015-02-02 13:08 hgbot Checkin
2015-02-02 13:08 hgbot Note Added: 0073984
2015-02-02 13:08 hgbot Status new => resolved
2015-02-02 13:08 hgbot Resolution open => fixed
2015-02-02 13:08 hgbot Fixed in SCM revision => http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/c6b9fda1c1fcd3a6802f9ac5c80997bae81ac7ba [^]
2015-02-04 13:41 marvintm Assigned To marvintm => rafademiguel
2015-02-04 13:41 marvintm Review Assigned To => marvintm
2015-02-04 13:41 marvintm Status resolved => closed
2015-02-04 13:41 marvintm Fixed in Version => RR15Q2


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker