Openbravo Issue Tracking System - Modules | |||||
View Issue Details | |||||
ID | Project | Category | View Status | Date Submitted | Last Update |
0020179 | Modules | APR Migration Tool | public | 2012-04-02 12:18 | 2012-09-04 18:04 |
Reporter | egoitz | ||||
Assigned To | jecharri | ||||
Priority | urgent | Severity | major | Reproducibility | always |
Status | closed | Resolution | fixed | ||
Platform | OS | 5 | OS Version | ||
Product Version | |||||
Target Version | Fixed in Version | ||||
Merge Request Status | |||||
Regression date | |||||
Regression introduced by commit | |||||
Regression level | |||||
Review Assigned To | egoitz | ||||
Support ticket | |||||
OBNetwork customer | |||||
Regression introduced in release | |||||
Summary | 0020179: Not possible to execute the migration tool when migratin to mp8 release or higher | ||||
Description | When migrating from 2.50 to Openbravo3 mp8 or higher, it is not possible to execute the migration tool. | ||||
Steps To Reproduce | -Starting on 2.50 migrate to Openbravo 3mp8 and try to run migration tool. | ||||
Proposed Solution | Problem happens on the insert on insertOrigPaymentSchedule method. To solve: 1-Remove from the insert the columns receivedAmount and outstandingAmount that does not exist on the table. To improve the performance: 2-Change the parameter of method insertOrigPaymentSchedule from String to FIN_PaymentSchedule object. 3-Use as argument fps object instead of fps.getId() 4-Change on the insertOrigPaymentSchedule the string in order to make the insert as "Insert into values" and not "insert select". Each value can be obtained from fps argument with proper methods. 5-ONce the insert is changed to use values and not a select, the line OBDal.getInstance().flush(); used before calling to insertOrigPaymentSchedule method could be removed 6-Finally: Add a try before starting the invoices loop ( for (Invoice inv : invoiceList)) and then change if (fps != null) with if (fps != null and tableExists) | ||||
Additional Information | |||||
Tags | Regression | ||||
Relationships | |||||
Attached Files | |||||
Issue History | |||||
Date Modified | Username | Field | Change | ||
2012-04-02 12:18 | egoitz | New Issue | |||
2012-04-02 12:18 | egoitz | Assigned To | => mirurita | ||
2012-04-02 12:26 | egoitz | Tag Attached: Regression | |||
2012-04-02 12:26 | egoitz | Assigned To | mirurita => jecharri | ||
2012-04-02 12:42 | egoitz | Note Added: 0047304 | |||
2012-04-02 12:42 | egoitz | Proposed Solution updated | |||
2012-04-02 13:02 | egoitz | Proposed Solution updated | |||
2012-04-03 10:22 | hgbot | Checkin | |||
2012-04-03 10:22 | hgbot | Note Added: 0047329 | |||
2012-04-03 10:22 | hgbot | Status | new => resolved | ||
2012-04-03 10:22 | hgbot | Resolution | open => fixed | ||
2012-04-03 10:22 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/mods/org.openbravo.erputil.aprmigrationtool/rev/c630f77de6c2a51380cd87e51598dbedb61ce849 [^] | ||
2012-04-03 12:39 | hgbot | Checkin | |||
2012-04-03 12:39 | hgbot | Note Added: 0047333 | |||
2012-09-04 18:04 | egoitz | Closed by | => egoitz | ||
2012-09-04 18:04 | egoitz | Note Added: 0051837 | |||
2012-09-04 18:04 | egoitz | Status | resolved => closed |
Notes | |||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|