Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0014262Openbravo ERPA. Platformpublic2010-08-21 12:422010-09-13 12:38
jpabloae 
shuehner 
urgentmajorhave not tried
closedfixed 
20Community Appliance
2.50MP20 
 
No
Core
No
0014262: Unable to update a 2.50MP20 community appliance to the candidate 2.50MP21
Updating a 2.50MP20 community appliance to the candidate 2.50MP21 fails in the update.database part. See rebuild.log for the error.

The candidate 2.50MP21 OBX is currently in the CR, in the "Test" maturity level.
1. Start a 2.50MP20 community appliance.
2. Go to "General setup -> Application -> Activation" and activate the instance.
3. Go to "General setup -> Application -> Module management". Then enter the "Settings" tab and set Core to the "Test" maturity level (see test-level.png).
4. Go to the "Installed modules" tab and click on "Scan for updates".
5. You'll see 1 update available. Click on "Install Updates Now".
6. You are asked to activate the heartbeat. When you click in "OK" it throws a NullPointerException (see npe.log). See issue 0014261.
7. Click on "Install Updates Now" again. Click in "OK" and finally click in "Rebuild now".
8. The rebuild fails in the update.database task (see rebuild.log).
Regression
depends on defect 0014276 closed mtaal Need feature to disable maintaining audit info via dal for one request/dal-session 
related to defect 00142742.50MP21 closed shuehner Update.database fails after disabling a module 
log rebuild.log (3,984) 2010-08-21 12:42
https://issues.openbravo.com/file_download.php?file_id=2891&type=bug
Issue History
2010-08-21 12:42jpabloaeNew Issue
2010-08-21 12:42jpabloaeAssigned To => alostale
2010-08-21 12:42jpabloaeFile Added: rebuild.log
2010-08-21 12:42jpabloaeOBNetwork customer => No
2010-08-21 12:48jpabloaeSteps to Reproduce Updatedbug_revision_view_page.php?rev_id=708#r708
2010-08-23 09:37iperdomoAssigned Toalostale => iperdomo
2010-08-23 12:28iperdomoStatusnew => scheduled
2010-08-23 12:28iperdomofix_in_branch => pi
2010-08-23 13:42hgbotCheckin
2010-08-23 13:42hgbotNote Added: 0030225
2010-08-23 13:42hgbotStatusscheduled => resolved
2010-08-23 13:42hgbotResolutionopen => fixed
2010-08-23 13:42hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/d1ae61b55653ebb4412823dcf26ac1e3499e0ff3 [^]
2010-08-23 15:59iperdomoStatusresolved => new
2010-08-23 15:59iperdomoResolutionfixed => open
2010-08-23 16:00iperdomoAssigned Toiperdomo => shuehner
2010-08-23 16:00iperdomoFixed in SCM revisionhttp://code.openbravo.com/erp/devel/pi/rev/d1ae61b55653ebb4412823dcf26ac1e3499e0ff3 [^] =>
2010-08-23 16:00iperdomofix_in_branchpi =>
2010-08-23 16:05iperdomoNote Deleted: 0030225
2010-08-24 13:08plujanIssue cloned0014274
2010-08-24 13:08plujanRelationship addedrelated to 0014274
2010-08-24 13:09iperdomoStatusnew => scheduled
2010-08-24 13:09iperdomofix_in_branch => pi
2010-08-24 13:13shuehnerRelationship addeddepends on 0014276
2010-08-24 15:11hgbotCheckin
2010-08-24 15:11hgbotNote Added: 0030254
2010-08-24 15:11hgbotStatusscheduled => resolved
2010-08-24 15:11hgbotResolutionopen => fixed
2010-08-24 15:11hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/28457ff0e0275d5c0a644b91e3cbbcce38f463b4 [^]
2010-08-24 16:36shuehnerNote Added: 0030256
2010-08-24 17:32iperdomoNote Added: 0030260
2010-08-24 17:32iperdomoStatusresolved => closed
2010-08-25 07:09hudsonbotCheckin
2010-08-25 07:09hudsonbotNote Added: 0030277
2010-08-25 07:09hudsonbotCheckin
2010-08-25 07:09hudsonbotNote Added: 0030283
2010-08-25 13:19psarobeTag Attached: Regression
2010-08-25 13:21psarobeversion => 2.50MP20
2010-08-25 13:21psarobefix_in_branchpi =>
2010-09-13 12:38anonymoussf_bug_id0 => 3065179

Notes
(0030254)
hgbot   
2010-08-24 15:11   
Repository: erp/devel/pi
Changeset: 28457ff0e0275d5c0a644b91e3cbbcce38f463b4
Author: Stefan Hühner <stefan.huehner <at> openbravo.com>
Date: Tue Aug 24 15:10:48 2010 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/28457ff0e0275d5c0a644b91e3cbbcce38f463b4 [^]

Fixed 14262: Do not update audit info, to not trigger the 'local changes' check
For changing maturity level (per module) skip audit info as its a local config
change which should not trigger the 'db has local changes' check

---
M src/org/openbravo/erpCommon/ad_forms/ModuleManagement.java
---
(0030256)
shuehner   
2010-08-24 16:36   
Already tested on pi/pgsql:
- without local changes:
  - add core with maturity level: TEst
  - run update.database without force option, check that it does not stop with local changes
- in Module window
  - do any change to i.e. core module (change description)
  - run update.database and check that it does still stop with local changes
(0030260)
iperdomo   
2010-08-24 17:32   
Tested on pi @ rev 28457ff0e027
(0030277)
hudsonbot   
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/d1ae61b55653 [^]
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 [^]
(0030283)
hudsonbot   
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/28457ff0e027 [^]
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 [^]