Openbravo Issue Tracking System - Modules
View Issue Details
0041801ModulesAPR Migration Toolpublic2019-09-12 14:092019-09-18 10:05
ngarcia 
markmm82 
urgentmajoralways
closedfixed 
5
 
 
Sandrahuguet
0041801: Compilation error when upgrading the instance to a version later than 18Q4 if the module is installed
Compilation error when upgrading the instance to a version later than 18Q4 if the module is installed.

In the documentation, it is said that it shouldn't be uninstalled:

http://wiki.openbravo.com/wiki/Projects:APR_Migration_Tool/User_Manual#Migration_Process [^]
Install the module in a version previous to 18Q4
Upgrade the instance to the latest version
Check the build fails with the following error:

compileSqlc:
    [javac] Compiling 21 source files to /home/openbravo/workspaces/openbravo/pi-test/pi/build/classes
    [javac] /home/openbravo/workspaces/openbravo/pi-test/pi/modules/org.openbravo.erputil.aprmigrationtool/src/org/openbravo/erputil/aprmigrationtool/entity/MigrateInvoice.java:29: error: package org.hibernate.impl does not exist
    [javac] import org.hibernate.impl.SessionFactoryImpl;
    [javac] ^
    [javac] /home/openbravo/workspaces/openbravo/pi-test/pi/modules/org.openbravo.erputil.aprmigrationtool/src/org/openbravo/erputil/aprmigrationtool/entity/MigrateInvoice.java:30: error: package org.hibernate.impl does not exist
    [javac] import org.hibernate.impl.SessionImpl;
    [javac] ^
    [javac] 2 errors
No tags attached.
related to feature request 0048466 new Triage Platform Base Openbravo ERP Block direct upgrades from 2.50 to latest releases 
related to defect 0048467 new Triage Platform Base Openbravo ERP Cleanup code to show special popups related to 'ugrading from 2.50' on login 
Issue History
2019-09-12 14:09ngarciaNew Issue
2019-09-12 14:09ngarciaAssigned To => Triage Finance
2019-09-12 14:09ngarciaResolution time => 1570053600
2019-09-12 14:27ngarciaIssue Monitored: networkb
2019-09-12 16:06SandrahuguetAssigned ToTriage Finance => collazoandy4
2019-09-12 17:55collazoandy4Statusnew => scheduled
2019-09-17 15:38SandrahuguetAssigned Tocollazoandy4 => markmm82
2019-09-18 03:42markmm82Note Added: 0114606
2019-09-18 10:00hgbotCheckin
2019-09-18 10:00hgbotNote Added: 0114623
2019-09-18 10:00hgbotCheckin
2019-09-18 10:00hgbotNote Added: 0114624
2019-09-18 10:03SandrahuguetStatusscheduled => resolved
2019-09-18 10:03SandrahuguetResolutionopen => fixed
2019-09-18 10:03SandrahuguetFixed in SCM revision => https://code.openbravo.com/erp/mods/org.openbravo.erputil.aprmigrationtool/rev/6c6271186c13d5eb9cc87144629678eb5fbe3c8a [^]
2019-09-18 10:05SandrahuguetReview Assigned To => Sandrahuguet
2019-09-18 10:05SandrahuguetNote Added: 0114625
2019-09-18 10:05SandrahuguetStatusresolved => closed
2019-09-18 10:05SandrahuguetNote Edited: 0114625bug_revision_view_page.php?bugnote_id=0114625#r19387
2022-01-22 14:26shuehnerRelationship addedrelated to 0048466
2022-01-22 14:28shuehnerRelationship addedrelated to 0048467

Notes
(0114606)
markmm82   
2019-09-18 03:42   
Test Plan:
Install the module in a version previous to 18Q4
Upgrade the instance to the latest version
Check it is executed without any failure.
(0114623)
hgbot   
2019-09-18 10:00   
Repository: erp/mods/org.openbravo.erputil.aprmigrationtool
Changeset: 6c6271186c13d5eb9cc87144629678eb5fbe3c8a
Author: Mark Molina <mark.molina <at> doceleguas.com>
Date: Tue Sep 17 22:13:41 2019 -0300
URL: http://code.openbravo.com/erp/mods/org.openbravo.erputil.aprmigrationtool/rev/6c6271186c13d5eb9cc87144629678eb5fbe3c8a [^]

Fix for issue 41801: Deactivated obsolete processes for APR Migration Tool

As Accountant Migration is an obsolote process, are removed all the java artifacts
included in the module. Also all the access from the UI to those processes.
Most of the database artifacts are kept as explained in the documentation, but those
related with removed processes are removed too.

---
M src-db/database/sourcedata/AD_MENU.xml
M src-db/database/sourcedata/AD_MODEL_OBJECT.xml
M src-db/database/sourcedata/AD_MODEL_OBJECT_MAPPING.xml
M src-db/database/sourcedata/AD_TREENODE.xml
R referencedata/standard/Execution_Process.xml
R src-db/database/sourcedata/AD_FORM.xml
R src-db/database/sourcedata/AD_TEXTINTERFACES.xml
R src/org/openbravo/erputil/aprmigrationtool/ad_forms/MigrationTool.html
R src/org/openbravo/erputil/aprmigrationtool/ad_forms/MigrationTool.java
R src/org/openbravo/erputil/aprmigrationtool/ad_forms/MigrationTool.xml
R src/org/openbravo/erputil/aprmigrationtool/dao/MigrationToolDao.java
R src/org/openbravo/erputil/aprmigrationtool/entity/Entity.java
R src/org/openbravo/erputil/aprmigrationtool/entity/MigrateBusinessPartner.java
R src/org/openbravo/erputil/aprmigrationtool/entity/MigrateFinancialAccount.java
R src/org/openbravo/erputil/aprmigrationtool/entity/MigrateInvoice.java
R src/org/openbravo/erputil/aprmigrationtool/entity/MigrateOrder.java
R src/org/openbravo/erputil/aprmigrationtool/entity/MigrateOrder_data.xsql
R src/org/openbravo/erputil/aprmigrationtool/entity/MigratePaymentMethod.java
R src/org/openbravo/erputil/aprmigrationtool/entity/MigrateRemittance.java
R src/org/openbravo/erputil/aprmigrationtool/entity/MigrateSettlementPayments.java
R src/org/openbravo/erputil/aprmigrationtool/entity/MigrationTool.java
R src/org/openbravo/erputil/aprmigrationtool/entity/MigrationValidation.java
R src/org/openbravo/erputil/aprmigrationtool/executionprocess/MigrationToolExecutionProcess.java
R src/org/openbravo/erputil/aprmigrationtool/executionprocess/MigrationToolMulticurrencyExecutionProcess.java
R src/org/openbravo/erputil/aprmigrationtool/utility/MigrationException.java
R src/org/openbravo/erputil/aprmigrationtool/utility/UpdatePaymentMonitorOldFlow.java
R src/org/openbravo/erputil/aprmigrationtool/utility/Utility.java
R src/org/openbravo/erputil/aprmigrationtool/utility/Value.java
---
(0114624)
hgbot   
2019-09-18 10:00   
Repository: erp/mods/org.openbravo.erputil.aprmigrationtool
Changeset: a3be00075389bb679738f49b30606b1fb7980ef2
Author: Sandra Huguet <sandra.huguet <at> openbravo.com>
Date: Wed Sep 18 09:41:20 2019 +0200
URL: http://code.openbravo.com/erp/mods/org.openbravo.erputil.aprmigrationtool/rev/a3be00075389bb679738f49b30606b1fb7980ef2 [^]

related to issue 41801 delete migration process tests

---
R src-test/org/openbravo/erputil/aprmigrationtool/test/SimpleTest.java
---
(0114625)
Sandrahuguet   
2019-09-18 10:05   
verified