Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0018643Openbravo ERPA. Platformpublic2011-09-28 17:082011-10-12 01:59
marvintm 
marvintm 
urgentmajoralways
closedfixed 
5
 
3.0MP4 
Core
No
0018643: Local changes error when changing the Life Cycle settings in the Module Management window
When the Life Cycle settings are changed in the Module Management window, all the information related to a previously done "Scan for updates" is deleted, because it might not be relevant anymore.

However, this operation causes an unwanted Application Dictionary change, which in turn causes a "Local changes" error when doing a rebuild.
- Go to the Settings tab in the Module Management window
- Set a different option in the "When doing a scan for updates, accept versions of the following status or higher" field (for example, "QA").
- Go to the "Installed Modules" tab, and click on "Scan for updates"
- Return to the "Settings" tab. Change the "When doing a scan for updates, ..." to a different value (for example, "Test"). Click on save.

The system will warn you that the "Scan for updates" information has been deleted. This is correct. However, at this point a change has been done to an ad_module, and the next rebuild will fail with a "Local changes" error
This change in the audit info of the ad_module must be prevented by correctly flushing the DAL connection while the updateAudit option is unchecked.
No tags attached.
depends on backport 00186442.50MP34 closed marvintm Local changes error when changing the Life Cycle settings in the Module Management window 
related to defect 0018697 closed marvintm Using scan for update button 2 times when having major version upgrade available blocks system completely 
Issue History
2011-09-28 17:08marvintmNew Issue
2011-09-28 17:08marvintmAssigned To => marvintm
2011-09-28 17:08marvintmModules => Core
2011-09-28 17:09marvintmStatusnew => acknowledged
2011-09-28 17:09marvintmStatusacknowledged => scheduled
2011-09-28 17:09marvintmfix_in_branch => pi
2011-09-28 17:16hgbotCheckin
2011-09-28 17:16hgbotNote Added: 0041353
2011-09-28 17:16hgbotStatusscheduled => resolved
2011-09-28 17:16hgbotResolutionopen => fixed
2011-09-28 17:16hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/20b2138bf26d1af2f0c94ef2bddf240a8f55cb65 [^]
2011-09-30 14:16iperdomoNote Added: 0041425
2011-09-30 14:16iperdomoStatusresolved => closed
2011-10-04 20:14shuehnerRelationship addedrelated to 0018697
2011-10-12 01:59hudsonbotCheckin
2011-10-12 01:59hudsonbotNote Added: 0041726

Notes
(0041353)
hgbot   
2011-09-28 17:16   
Repository: erp/devel/pi
Changeset: 20b2138bf26d1af2f0c94ef2bddf240a8f55cb65
Author: Antonio Moreno <antonio.moreno <at> openbravo.com>
Date: Wed Sep 28 17:15:32 2011 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/20b2138bf26d1af2f0c94ef2bddf240a8f55cb65 [^]

Fixed issue 18643. The reset of the 'Scan for updates' information will not cause a 'Local changes' problem

---
M src/org/openbravo/erpCommon/ad_forms/ModuleManagement.java
---
(0041425)
iperdomo   
2011-09-30 14:16   
Tested on pi @ rev bd7abb657185
(0041726)
hudsonbot   
2011-10-12 01:59   
A changeset related to this issue has been promoted main and to the
Central Repository, after passing a series of tests.

Promotion changeset: https://code.openbravo.com/erp/devel/main/rev/9bd2b5c2d982 [^]

Maturity status: Test