Openbravo Issue Tracking System - Openbravo ERP | |||||||||||||||||||
View Issue Details | |||||||||||||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | ||||||||||||||
0016360 | Openbravo ERP | 09. Financial management | public | 2011-03-17 13:01 | 2011-05-24 10:55 | ||||||||||||||
Reporter | shuehner | ||||||||||||||||||
Assigned To | mirurita | ||||||||||||||||||
Priority | normal | Severity | minor | Reproducibility | have not tried | ||||||||||||||
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 | Core | ||||||||||||||||||
Support ticket | |||||||||||||||||||
Regression level | |||||||||||||||||||
Regression date | |||||||||||||||||||
Regression introduced in release | |||||||||||||||||||
Regression introduced by commit | |||||||||||||||||||
Triggers an Emergency Pack | No | ||||||||||||||||||
Summary | 0016360: BuildValidation UnpostRefundPayments accesses table fin_payment which is not guaranteed to exist | ||||||||||||||||||
Description | When updating from 2.50 to latest main (which adds aprm module) this buildvalidation fails as it queries the table fin_payment which did not exist in 2.50 [java] 732 [main] INFO org.openbravo.buildvalidation.BuildValidationHandler - Executing build validation: org.openbravo.advpaymentmngt.buildvalidation.UnpostRefundPayments [java] 735 [main] ERROR org.openbravo.advpaymentmngt.buildvalidation.UnpostRefundPaymentsData - SQL error in query: SELECT count(*) AS EXISTING FROM fin_payment p, fin_payment_detail pd WHERE p.fin_payment_id = pd.fin_payment_id AND p.posted = 'Y' AND pd.refund = 'Y' AND pd.isprepayment = 'N'Exception:org.postgresql.util.PSQLException: ERROR: relation "fin_payment" does not exist [java] 736 [main] ERROR org.openbravo.buildvalidation.BuildValidationHandler - The build validation failed. [java] 736 [main] ERROR org.openbravo.buildvalidation.BuildValidationHandler - Error executing build-validation org.openbravo.advpaymentmngt.buildvalidation.UnpostRefundPayments: @CODE=0@ERROR: relation "fin_payment" does not exist | ||||||||||||||||||
Steps To Reproduce | hg clone -r 2.50 pristine/main install.source hg pull -u ant update.database | ||||||||||||||||||
Proposed Solution | check for the tables existence and if it does not exist skip the check completely as it the table didn't exist in the old-db i can't have invalid data in that table | ||||||||||||||||||
Additional Information | |||||||||||||||||||
Tags | closingMay2011 | ||||||||||||||||||
Relationships |
| ||||||||||||||||||
Attached Files | |||||||||||||||||||
Issue History | |||||||||||||||||||
Date Modified | Username | Field | Change | ||||||||||||||||
2011-03-17 13:01 | shuehner | New Issue | |||||||||||||||||
2011-03-17 13:01 | shuehner | Assigned To | => mirurita | ||||||||||||||||
2011-03-17 13:01 | shuehner | Modules | => Core | ||||||||||||||||
2011-03-17 13:02 | shuehner | Relationship added | related to 0016325 | ||||||||||||||||
2011-03-22 16:24 | mirurita | Status | new => scheduled | ||||||||||||||||
2011-03-22 16:24 | mirurita | fix_in_branch | => pi | ||||||||||||||||
2011-03-22 16:36 | hgbot | Checkin | |||||||||||||||||
2011-03-22 16:36 | hgbot | Note Added: 0035151 | |||||||||||||||||
2011-03-22 16:36 | hgbot | Status | scheduled => resolved | ||||||||||||||||
2011-03-22 16:36 | hgbot | Resolution | open => fixed | ||||||||||||||||
2011-03-22 16:36 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/devel/pi/rev/c0468108be7ab83bbb3f30ef563ea79f31198392 [^] | ||||||||||||||||
2011-05-24 10:12 | dalsasua | Tag Attached: closingMay2011 | |||||||||||||||||
2011-05-24 10:55 | dalsasua | Status | resolved => closed |
Notes | |||||
|
|||||
|
|