Openbravo Issue Tracking System - Openbravo ERP | |||||||||||||||||||
View Issue Details | |||||||||||||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | ||||||||||||||
0016325 | Openbravo ERP | 09. Financial management | public | 2011-03-16 13:21 | 2011-05-24 10:55 | ||||||||||||||
Reporter | shuehner | ||||||||||||||||||
Assigned To | mirurita | ||||||||||||||||||
Priority | normal | Severity | major | 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 | 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 | 0016325: BuildValidation UniquePaymentForTransaction accesses table fin_finaccc_transaction 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_finacc_transaction which did not exist in 2.50 [java] 1020 [main] ERROR org.openbravo.advpaymentmngt.buildvalidation.UniquePaymentForTransactionData - SQL error in query: SELECT ad_column_identifier('fin_payment', t.fin_payment_id, 'en_US') as documentno, t.fin_payment_id, p.isreceipt, p.ad_client_id, p.ad_org_id FROM fin_finacc_transaction t join fin_payment p on (t.fin_payment_id=p.fin_payment_id) GROUP BY t.fin_payment_id, p.isreceipt, p.ad_client_id, p.ad_org_id HAVING count(t.fin_finacc_transaction_id) > 1Exception:org.postgresql.util.PSQLException: ERROR: relation "fin_finacc_transaction" does not exist [java] 1021 [main] ERROR org.openbravo.buildvalidation.BuildValidationHandler - The build validation failed. [java] 1021 [main] ERROR org.openbravo.buildvalidation.BuildValidationHandler - Error executing build-validation org.openbravo.advpaymentmngt.buildvalidation.UniquePaymentForTransaction: @CODE=0@ERROR: relation "fin_finacc_transaction" does not exist [java] The build validation couldn't be properly executed | ||||||||||||||||||
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-16 13:21 | shuehner | New Issue | |||||||||||||||||
2011-03-16 13:21 | shuehner | Assigned To | => eduardo_Argal | ||||||||||||||||
2011-03-16 13:21 | shuehner | Modules | => Advanced Payables and Receivables Mngmt | ||||||||||||||||
2011-03-16 16:16 | shuehner | Note Added: 0034945 | |||||||||||||||||
2011-03-16 16:42 | jpabloae | Issue Monitored: jpabloae | |||||||||||||||||
2011-03-17 12:29 | mirurita | Assigned To | eduardo_Argal => mirurita | ||||||||||||||||
2011-03-17 12:29 | mirurita | Status | new => scheduled | ||||||||||||||||
2011-03-17 12:29 | mirurita | fix_in_branch | => pi | ||||||||||||||||
2011-03-17 12:30 | hgbot | Checkin | |||||||||||||||||
2011-03-17 12:30 | hgbot | Note Added: 0034994 | |||||||||||||||||
2011-03-17 12:30 | hgbot | Status | scheduled => resolved | ||||||||||||||||
2011-03-17 12:30 | hgbot | Resolution | open => fixed | ||||||||||||||||
2011-03-17 12:30 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/devel/pi/rev/6c90872d798fc941edf658161cc956d2d555f4ed [^] | ||||||||||||||||
2011-03-17 13:02 | shuehner | Relationship added | related to 0016360 | ||||||||||||||||
2011-05-24 10:12 | dalsasua | Tag Attached: closingMay2011 | |||||||||||||||||
2011-05-24 10:55 | dalsasua | Status | resolved => closed |
Notes | |||||
|
|||||
|
|
||||
|
|||||
|
|