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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0014274
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Openbravo ERP] A. Platformcriticalhave not tried2010-08-24 13:082010-09-21 21:43
ReporterplujanView Statuspublic 
Assigned Toshuehner 
PriorityimmediateResolutionfixedFixed in Version
StatusclosedFix in branchFixed in SCM revisionfe89aad08526
ProjectionnoneETAnoneTarget Version2.50MP21
OSLinux 32 bitDatabasePostgreSQLJava version1.6.0_18
OS VersionCommunity ApplianceDatabase version8.3.9Ant version1.7.1
Product Version2.50MP20SCM revision 
Review Assigned To
Web browser
ModulesCore
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0014274: Update.database fails after disabling a module

DescriptionAfter disabling a module, any update database will fail due local changes. See steps.
Steps To Reproduce1. Use an instance with a valid subscription and QuickStart installed.
2. Go to module management and disable QuickStart
3. Open a command line and execute: ant update.database
4. An error will be displayed
     [java] Checking if database structure was modified locally.
     [java] Checking if data has changed in the application dictionary.
     [java] 126617 INFO - Change detected in table: AD_Module
     ...
TagsRegression
Attached Files

- Relationships Relation Graph ] Dependency Graph ]
related to defect 0014262 closedshuehner Unable to update a 2.50MP20 community appliance to the candidate 2.50MP21 
depends on defect 0014276 closedmtaal Need feature to disable maintaining audit info via dal for one request/dal-session 

-  Notes
(0030257)
hgbot (developer)
2010-08-24 16:53

Repository: erp/devel/pi
Changeset: fe89aad085261c99250844f6d5a2b6ddfd58f40c
Author: Stefan Hühner <stefan.huehner <at> openbravo.com>
Date: Tue Aug 24 16:53:08 2010 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/fe89aad085261c99250844f6d5a2b6ddfd58f40c [^]

Fixed 14274: Fix 'db has local changes' after enabling/disabling a module
When disabling or enabling a module do not update the 'updated'-column to not
trigger the 'db has local changes' check.
- Split out enable module code into enable helper function similar to disable
- wrap enable/disable code in don't update audit info block to get calling
  sequence: setPreventUpdateInfoChange(true),
  change,flush (in finishEnabling),
  setPreventUpdateInfoChange(false)

---
M src/org/openbravo/erpCommon/ad_forms/ModuleManagement.java
---
(0030263)
iperdomo (reporter)
2010-08-24 18:16

Tested on pi @ rev 215be63868e7
(0030284)
hudsonbot (developer)
2010-08-25 07:09

A changeset related to this issue has been promoted to main after passing a series of tests and an OBX has been generated:

Changeset: http://code.openbravo.com/erp/devel/main/rev/fe89aad08526 [^]
Merge Changeset: http://code.openbravo.com/erp/devel/main/rev/8a6a35fc0751 [^]
Tests: http://builds.openbravo.com/view/int/ [^]
OBX: http://builds.openbravo.com/erp/core/obx/OpenbravoERP-2.50CI.18218.obx [^]
(0030312)
psarobe (manager)
2010-08-25 13:12

This issue also affects when upgrading from MP20 to MP21 if you change the maturity status from General availability to test or controlled release

- Issue History
Date Modified Username Field Change
2010-08-24 13:08 plujan New Issue
2010-08-24 13:08 plujan Assigned To => shuehner
2010-08-24 13:08 plujan Issue generated from 0014262
2010-08-24 13:08 plujan Relationship added related to 0014262
2010-08-24 13:13 shuehner Relationship added depends on 0014276
2010-08-24 16:19 shuehner Target Version => 2.50MP21
2010-08-24 16:53 hgbot Checkin
2010-08-24 16:53 hgbot Note Added: 0030257
2010-08-24 16:53 hgbot Status new => resolved
2010-08-24 16:53 hgbot Resolution open => fixed
2010-08-24 16:53 hgbot Fixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/fe89aad085261c99250844f6d5a2b6ddfd58f40c [^]
2010-08-24 18:16 iperdomo Note Added: 0030263
2010-08-24 18:16 iperdomo Status resolved => closed
2010-08-25 07:09 hudsonbot Checkin
2010-08-25 07:09 hudsonbot Note Added: 0030284
2010-08-25 13:10 psarobe version => 2.50MP20
2010-08-25 13:10 psarobe Tag Attached: Regression
2010-08-25 13:12 psarobe Note Added: 0030312
2010-08-25 13:21 psarobe Tag Detached: Regression
2010-08-25 13:21 psarobe Tag Attached: Regression QA
2010-08-25 13:21 psarobe version 2.50MP20 => main
2010-09-13 12:38 anonymous sf_bug_id 0 => 3065181
2010-09-21 21:42 psarobe Tag Detached: Regression QA
2010-09-21 21:42 psarobe Tag Attached: Regression
2010-09-21 21:43 psarobe version main => 2.50MP20


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker