Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0015178Openbravo ERPA. Platformpublic2010-11-11 18:592010-12-31 08:07
marvintm 
marvintm 
normalmajorhave not tried
closedfixed 
5
 
2.50MP25 
Core
No
0015178: Users shouldn't be able to apply a dataset if it hasn't changed
Currently the Enterprise Module Management shows all the modules which contain datasets, regardless of whether they changed from the last time they were inserted or not.

This allows the user to reapply a dataset several times. This should be avoided.
The idea is to save the checksum of the dataset inside a new column of the AD_DATASET table. When the Enterprise Module Management is opened, this checksums are compared with the content of a new column in AD_ORGMODULE and if they are found to be different, then the module is shown, and otherwise is not shown.
No tags attached.
related to defect 00153532.50MP25 closed marvintm Usuing Dataset: 'Export referencedata' trigger 'db has local changes check' but is not protected by 'isindevelopment' 
related to design defect 0015355 scheduled Triage Platform Base Module having 2 datasets, 1 changed, Applying will still overwrite data in unchanged dataset 
related to defect 0015555 closed alostale In Oracle, Enterprise Module Management window shows an error message on open 
Issue History
2010-11-11 18:59marvintmNew Issue
2010-11-11 18:59marvintmAssigned To => marvintm
2010-11-15 07:56alostaleStatusnew => scheduled
2010-11-16 13:18hgbotCheckin
2010-11-16 13:18hgbotNote Added: 0032633
2010-11-16 13:18hgbotStatusscheduled => resolved
2010-11-16 13:18hgbotResolutionopen => fixed
2010-11-16 13:18hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/3e4ba05c6ca00c5b53eafeb0bd25193df72e52ff [^]
2010-11-16 16:02hgbotCheckin
2010-11-16 16:02hgbotNote Added: 0032636
2010-11-16 22:11hudsonbotCheckin
2010-11-16 22:11hudsonbotNote Added: 0032648
2010-11-17 04:28hudsonbotCheckin
2010-11-17 04:28hudsonbotNote Added: 0032650
2010-11-19 13:34hgbotCheckin
2010-11-19 13:34hgbotNote Added: 0032737
2010-11-19 20:08hudsonbotCheckin
2010-11-19 20:08hudsonbotNote Added: 0032762
2010-12-02 13:16shuehnerRelationship addedrelated to 0015353
2010-12-02 14:24shuehnerRelationship addedrelated to 0015355
2010-12-02 16:24shuehnerNote Added: 0033010
2010-12-02 16:24shuehnerStatusresolved => closed
2010-12-09 16:07anonymoussf_bug_id0 => 3133558
2010-12-31 08:05alostaleRelationship addedrelated to 0015555
2010-12-31 08:06alostaleNote Added: 0033488
2010-12-31 08:07alostaleNote Added: 0033489

Notes
(0032633)
hgbot   
2010-11-16 13:18   
Repository: erp/devel/pi
Changeset: 3e4ba05c6ca00c5b53eafeb0bd25193df72e52ff
Author: Antonio Moreno <antonio.moreno <at> openbravo.com>
Date: Tue Nov 16 13:16:29 2010 +0100
URL: http://code.openbravo.com/erp/devel/pi/rev/3e4ba05c6ca00c5b53eafeb0bd25193df72e52ff [^]

Fixed issue 15178. Modules containing datasets will not be shown in the Enterprise Module Management if the datasets didn't change

---
M src-db/database/model/tables/AD_DATASET.xml
M src-db/database/model/tables/AD_ORGMODULE.xml
M src-db/database/sourcedata/AD_COLUMN.xml
M src-db/database/sourcedata/AD_ELEMENT.xml
M src/org/openbravo/erpCommon/ad_actionButton/ExportReferenceData.java
M src/org/openbravo/erpCommon/ad_forms/UpdateReferenceData.java
M src/org/openbravo/erpCommon/ad_forms/UpdateReferenceData_data.xsql
M src/org/openbravo/erpCommon/modules/ModuleReferenceDataOrgTree.java
---
(0032636)
hgbot   
2010-11-16 16:02   
Repository: erp/devel/pi
Changeset: 9d7ba60a5d711bb95b495fcd030cc079b5c631cb
Author: Antonio Moreno <antonio.moreno <at> openbravo.com>
Date: Tue Nov 16 16:00:52 2010 +0100
URL: http://code.openbravo.com/erp/devel/pi/rev/9d7ba60a5d711bb95b495fcd030cc079b5c631cb [^]

Related to issue 15178. Fixed small issue with module version in ad_orgmodule. Added order in checksum concatenation.

---
M src/org/openbravo/erpCommon/ad_forms/UpdateReferenceData_data.xsql
M src/org/openbravo/erpCommon/modules/ModuleReferenceDataOrgTree.java
---
(0032648)
hudsonbot   
2010-11-16 22:11   
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/3e4ba05c6ca0 [^]
Merge Changeset: http://code.openbravo.com/erp/devel/main/rev/aa44e0a959be [^]
Tests: http://builds.openbravo.com/view/int/ [^]
OBX: http://builds.openbravo.com/erp/core/obx/OpenbravoERP-2.50CI.18902.obx [^]
(0032650)
hudsonbot   
2010-11-17 04:28   
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/9d7ba60a5d71 [^]
Merge Changeset: http://code.openbravo.com/erp/devel/main/rev/b1b58a335fa9 [^]
Tests: http://builds.openbravo.com/view/int/ [^]
OBX: http://builds.openbravo.com/erp/core/obx/OpenbravoERP-2.50CI.18904.obx [^]
(0032737)
hgbot   
2010-11-19 13:34   
Repository: erp/devel/pi
Changeset: 2bed18e7f3af9d2fb21c004389b58801748b49d0
Author: Antonio Moreno <antonio.moreno <at> openbravo.com>
Date: Fri Nov 19 13:32:46 2010 +0100
URL: http://code.openbravo.com/erp/devel/pi/rev/2bed18e7f3af9d2fb21c004389b58801748b49d0 [^]

Related to issue 15178. Now datasets of the proper accesslevel will be taken into account in the check

---
M src/org/openbravo/erpCommon/modules/ModuleReferenceDataOrgTree.java
---
(0032762)
hudsonbot   
2010-11-19 20:08   
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/2bed18e7f3af [^]
Merge Changeset: http://code.openbravo.com/erp/devel/main/rev/4960cae97b54 [^]
Tests: http://builds.openbravo.com/view/int/ [^]
OBX: http://builds.openbravo.com/erp/core/obx/OpenbravoERP-2.50CI.18970.obx [^]
(0033010)
shuehner   
2010-12-02 16:24   
Reviewed & test on pi/pgsql (rev: cb6a144e18fd). Besides the two issues (marked as related to this one) working fine. If no dataset in a module did change the module is filtered out in the 'EnterpriseModuleManagement', if at least one dataset in a module is changed, then the entry is shown and all (!) datasets in the module are applied.
Having any not updated module (not having the new checksum column) behaves live 'dataset is changed'.
Also on upgrades from <MP24 the system does not yet if a specific dataset version/checksum has already been applied so will offer the dataset for application (once).
(0033488)
alostale   
2010-12-31 08:06   
It doesn't work in Oracle
(0033489)
alostale   
2010-12-31 08:07   
It doesn't work in Oracle: issue 0015555