Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0014583Openbravo ERP00. Application dictionarypublic2010-09-16 12:212022-02-01 08:08
albertobg 
Triage Platform Base 
normalmajorhave not tried
acknowledgedopen 
5
2.50MP20 
 
Core
No
0014583: Uninstall and install a module fails in some circumstances
We have a module "A" that has a tab with name "Tab A", installed in a machine.
Then we create a module "B" that have too a tab with name "Tab A".
If we uninstall the module "A" and install the module "B", when update database is done, it fails because a constraint of unique name of tab.
We find in the database that exists a record in AD_TAB of a module that not exists in AD_MODULE (the module "A" that was uninstalled) and a record in AD_TABLE of the same module.
So, the uninstallation of module "A" is not complete when module "B" has a tab with the same name.
We delete manually the record in AD_TAB and AD_TABLE and update database is done.
-Create module A with a tab name "Tab test"
-Install it on a machine
-Create module B with a tab name "Tab test"
-Uninstall module A and install module B
-Apply changes. Then the update.database fails.
OB3-Reviewed
Issue History
2010-09-16 12:21albertobgNew Issue
2010-09-16 12:21albertobgAssigned To => alostale
2010-09-16 12:47albertobgNote Added: 0031153
2010-09-20 09:02alostalePriorityhigh => urgent
2010-09-20 09:02alostaleSeveritycritical => major
2010-09-20 09:03alostaleStatusnew => scheduled
2010-09-20 09:03alostalefix_in_branch => pi
2011-10-29 22:03psarobeTag Attached: OB3-Reviewed
2012-05-08 17:35alostaleTypedefect => design defect
2012-05-08 17:35alostalefix_in_branchpi =>
2012-09-24 23:30AugustoMauchNote Added: 0052482
2012-09-24 23:30AugustoMauchPriorityurgent => normal
2017-03-31 14:36alostaleStatusscheduled => acknowledged
2017-04-10 14:34alostaleAssigned Toalostale => platform
2022-02-01 08:08alostaleAssigned Toplatform => Triage Platform Base

Notes
(0031153)
albertobg   
2010-09-16 12:47   
If we first uninstall module "A", then apply changes (update.database and smartbuild), and then install the module "B" and apply changes again, the change is correctly done.
A final user probably don't know this and will cause the system is inconsistent and does not compile, if the user uninstalls and installs and apply changes together.
(0052482)
AugustoMauch   
2012-09-24 23:30   
Impact: low
Plan: mid