Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0018644Openbravo ERPA. Platformpublic2011-09-28 17:082011-09-30 13:22
marvintm 
marvintm 
urgentmajoralways
closedfixed 
5
 
2.50MP34 
Core
No
0018644: 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.
blocks defect 00186433.0MP4 closed marvintm Local changes error when changing the Life Cycle settings in the Module Management window 
Issue History
2011-09-28 17:09marvintmTypedefect => backport
2011-09-28 17:09marvintmfix_in_branch => 2.50
2011-09-28 17:09marvintmTarget Version3.0MP4 => 2.50MP34
2011-09-30 12:19hgbotCheckin
2011-09-30 12:19hgbotNote Added: 0041406
2011-09-30 12:19hgbotStatusscheduled => resolved
2011-09-30 12:19hgbotResolutionopen => fixed
2011-09-30 12:19hgbotFixed in SCM revision => http://code.openbravo.com/erp/stable/2.50/rev/74ad6b9340af3dc4908ba16b74940d2dfc810a64 [^]
2011-09-30 13:22iperdomoNote Added: 0041419
2011-09-30 13:22iperdomoStatusresolved => closed
2011-10-04 20:13shuehnerRelationship addedrelated to 0018697
2011-10-04 20:15shuehnerRelationship deletedrelated to 0018697

Notes
(0041406)
hgbot   
2011-09-30 12:19   
Repository: erp/stable/2.50
Changeset: 74ad6b9340af3dc4908ba16b74940d2dfc810a64
Author: Antonio Moreno <antonio.moreno <at> openbravo.com>
Date: Wed Sep 28 17:13:22 2011 +0200
URL: http://code.openbravo.com/erp/stable/2.50/rev/74ad6b9340af3dc4908ba16b74940d2dfc810a64 [^]

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

---
M src/org/openbravo/erpCommon/ad_forms/ModuleManagement.java
---
(0041419)
iperdomo   
2011-09-30 13:22   
Tested in stable/2.50 @ rev 74ad6b9340af