Openbravo Issue Tracking System - Openbravo ERP | ||||||||||||
View Issue Details | ||||||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | |||||||
0018752 | Openbravo ERP | 09. Financial management | public | 2011-10-11 13:10 | 2011-12-02 11:47 | |||||||
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 | 0018752: 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 | Exception - savePayment.png (79,880) 2011-10-11 13:10 https://issues.openbravo.com/file_download.php?file_id=4632&type=bug proposed_solution_TBD.diff (5,165) 2011-10-11 16:10 https://issues.openbravo.com/file_download.php?file_id=4633&type=bug | |||||||||||
Issue History | ||||||||||||
Date Modified | Username | Field | Change | |||||||||
2011-10-11 13:10 | mirurita | New Issue | ||||||||||
2011-10-11 13:10 | mirurita | Assigned To | => jonalegriaesarte | |||||||||
2011-10-11 13:10 | mirurita | File Added: Exception - savePayment.png | ||||||||||
2011-10-11 13:10 | mirurita | Modules | => Advanced Payables and Receivables Mngmt | |||||||||
2011-10-11 13:10 | mirurita | Resolution time | => 1324335600 | |||||||||
2011-10-11 16:10 | mirurita | File Added: proposed_solution_TBD.diff | ||||||||||
2011-11-10 13:07 | jonalegriaesarte | Assigned To | jonalegriaesarte => ioritzCia | |||||||||
2011-11-22 12:34 | ioritzCia | Status | new => scheduled | |||||||||
2011-11-22 12:34 | ioritzCia | fix_in_branch | => pi | |||||||||
2011-11-24 10:34 | hgbot | Checkin | ||||||||||
2011-11-24 10:34 | hgbot | Note Added: 0043140 | ||||||||||
2011-11-24 10:34 | hgbot | Status | scheduled => resolved | |||||||||
2011-11-24 10:34 | hgbot | Resolution | open => fixed | |||||||||
2011-11-24 10:34 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/devel/pi/rev/b92d77dfa7d39d9611bfc69d359d98baf4847bc8 [^] | |||||||||
2011-11-24 13:23 | ioritzCia | Note Added: 0043155 | ||||||||||
2011-11-30 12:29 | hudsonbot | Checkin | ||||||||||
2011-11-30 12:29 | hudsonbot | Note Added: 0043433 | ||||||||||
2011-12-02 11:47 | mirurita | Note Added: 0043692 | ||||||||||
2011-12-02 11:47 | mirurita | Status | resolved => closed |
Notes | |||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|