Openbravo Issue Tracking System - Openbravo ERP | ||||||||||||
View Issue Details | ||||||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | |||||||
0019135 | Openbravo ERP | 09. Financial management | public | 2011-10-11 13:10 | 2014-04-02 09:04 | |||||||
Reporter | mirurita | |||||||||||
Assigned To | ioritzCia | |||||||||||
Priority | normal | Severity | minor | Reproducibility | always | |||||||
Status | closed | Resolution | fixed | |||||||||
Platform | OS | 5 | OS Version | |||||||||
Product Version | ||||||||||||
Target Version | Fixed in Version | |||||||||||
Merge Request Status | ||||||||||||
Review Assigned To | ||||||||||||
OBNetwork customer | ||||||||||||
Web browser | ||||||||||||
Modules | Advanced Payables and Receivables Mngmt | |||||||||||
Support ticket | ||||||||||||
Regression level | ||||||||||||
Regression date | ||||||||||||
Regression introduced in release | ||||||||||||
Regression introduced by commit | ||||||||||||
Triggers an Emergency Pack | No | |||||||||||
Summary | 0019135: FIN_AddPayment - savePayment method not managing properly exceptions | |||||||||||
Description | org.openbravo.advpaymentmngt.process.FIN_AddPayment savePayment method not managing properly exceptions. it should raise the exception to be caught by caller method. | |||||||||||
Steps To Reproduce | 1) Modify APRM_FIN_PMT_CHECK_TRG adding a raise exception at the beginning RAISE EXCEPTION '%', '@20501@'; --OBTG:-20000-- 2) Create a new sales invoice and complete 3) Click on Add Payment In button 4) On the popup click on OK button Realize that the message shown is a generic message (it provides useless information to the user) and if you raise the exception using the message search key (i.e. @20501@) the exception is not translated. | |||||||||||
Proposed Solution | catch the flush event OBDal.getInstance().flush(); when calling this method you should manage then catch the exception this method can return. (for example in AddPaymentFromInvoice.) | |||||||||||
Additional Information | ||||||||||||
Tags | No tags attached. | |||||||||||
Relationships |
| |||||||||||
Attached Files | ||||||||||||
Issue History | ||||||||||||
Date Modified | Username | Field | Change | |||||||||
2011-11-22 12:34 | ioritzCia | Type | defect => backport | |||||||||
2011-11-22 12:34 | ioritzCia | fix_in_branch | => 2.50 | |||||||||
2011-12-01 12:04 | hgbot | Checkin | ||||||||||
2011-12-01 12:04 | hgbot | Note Added: 0043648 | ||||||||||
2011-12-01 12:04 | hgbot | Status | scheduled => resolved | |||||||||
2011-12-01 12:04 | hgbot | Resolution | open => fixed | |||||||||
2011-12-01 12:04 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/pmods/org.openbravo.advpaymentmngt/rev/21de7a16a9b74067f2b707ef22ee1298d8d8b8db [^] | |||||||||
2014-04-02 09:04 | plujan | Note Added: 0066027 | ||||||||||
2014-04-02 09:04 | plujan | Status | resolved => closed |
Notes | |||||
|
|||||
|
|
||||
|
|||||
|
|