Anonymous | Login
Project:
RSS
  
News | My View | View Issues | Roadmap | Summary

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0041801
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Modules] APR Migration Toolmajoralways2019-09-12 14:092019-09-18 10:05
ReporterngarciaView Statuspublic 
Assigned Tomarkmm82 
PriorityurgentResolutionfixedFixed in Version
StatusclosedFix in branchFixed in SCM revision6c6271186c13
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Regression date
Regression introduced by commit
Regression level
Review Assigned ToSandrahuguet
Regression introduced in release
Summary

0041801: Compilation error when upgrading the instance to a version later than 18Q4 if the module is installed

DescriptionCompilation 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 [^]
Steps To ReproduceInstall 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
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]
related to feature request 0048466 newTriage Platform Base Openbravo ERP Block direct upgrades from 2.50 to latest releases 
related to defect 0048467 newTriage Platform Base Openbravo ERP Cleanup code to show special popups related to 'ugrading from 2.50' on login 

-  Notes
(0114606)
markmm82 (developer)
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 (developer)
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 (developer)
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 (developer)
2019-09-18 10:05
edited on: 2019-09-18 10:05

verified


- Issue History
Date Modified Username Field Change
2019-09-12 14:09 ngarcia New Issue
2019-09-12 14:09 ngarcia Assigned To => Triage Finance
2019-09-12 14:09 ngarcia Resolution time => 1570053600
2019-09-12 14:27 ngarcia Issue Monitored: networkb
2019-09-12 16:06 Sandrahuguet Assigned To Triage Finance => collazoandy4
2019-09-12 17:55 collazoandy4 Status new => scheduled
2019-09-17 15:38 Sandrahuguet Assigned To collazoandy4 => markmm82
2019-09-18 03:42 markmm82 Note Added: 0114606
2019-09-18 10:00 hgbot Checkin
2019-09-18 10:00 hgbot Note Added: 0114623
2019-09-18 10:00 hgbot Checkin
2019-09-18 10:00 hgbot Note Added: 0114624
2019-09-18 10:03 Sandrahuguet Status scheduled => resolved
2019-09-18 10:03 Sandrahuguet Resolution open => fixed
2019-09-18 10:03 Sandrahuguet Fixed in SCM revision => https://code.openbravo.com/erp/mods/org.openbravo.erputil.aprmigrationtool/rev/6c6271186c13d5eb9cc87144629678eb5fbe3c8a [^]
2019-09-18 10:05 Sandrahuguet Review Assigned To => Sandrahuguet
2019-09-18 10:05 Sandrahuguet Note Added: 0114625
2019-09-18 10:05 Sandrahuguet Status resolved => closed
2019-09-18 10:05 Sandrahuguet Note Edited: 0114625 View Revisions
2022-01-22 14:26 shuehner Relationship added related to 0048466
2022-01-22 14:28 shuehner Relationship added related to 0048467


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker