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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0015408
TypeCategorySeverityReproducibilityDate SubmittedLast Update
backport[Openbravo ERP] A. Platformmajorhave not tried2010-12-02 13:162010-12-30 13:13
ReportershuehnerView Statuspublic 
Assigned Tomarvintm 
PriorityurgentResolutionfixedFixed in Version
StatusclosedFix in branch2.50Fixed in SCM revision05985d41095b
ProjectionnoneETAnoneTarget Version2.50MP25
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product Version2.50MP24SCM revision 
Review Assigned To
Web browser
ModulesCore
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0015408: Usuing Dataset: 'Export referencedata' trigger 'db has local changes check' but is not protected by 'isindevelopment'

DescriptionAfter issue 15178 was implemented the 'export referencedata' does modify the ad_dataset row of the dataset being exported (to write a checksum there).

This will prevent all further update.database calls (i.e. update/install of modules) until this changed ad_dataset row is exported.

However the user does not know this as this action (export referencedata) is not protected by the 'You need to set the module into development' check which is present in all other actions requiring to export a module afterwards.
Steps To ReproduceInstall i.e. 3.0rc3 (this means no module in development)
Goto the dataset window
locate entry to 'My openbravo'
use the 'export referencedata' button
run ant update.database
This will fail with the 'db has local changes' message
Proposed SolutionWhen exporting a dataset/referencedata require the module containing it to be in development.
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]
blocks defect 00153532.50MP25 closedmarvintm Usuing Dataset: 'Export referencedata' trigger 'db has local changes check' but is not protected by 'isindevelopment' 

-  Notes
(0033124)
hgbot (developer)
2010-12-13 13:07

Repository: erp/stable/2.50
Changeset: f885981148aa1a30b66f70b3249e03cbc0967f68
Author: Antonio Moreno <antonio.moreno <at> openbravo.com>
Date: Mon Dec 13 13:06:41 2010 +0100
URL: http://code.openbravo.com/erp/stable/2.50/rev/f885981148aa1a30b66f70b3249e03cbc0967f68 [^]

Fixed issue 15408. The process will check if the module is in development before running.

---
M src/org/openbravo/erpCommon/ad_actionButton/ExportReferenceData.java
---
(0033162)
hgbot (developer)
2010-12-14 12:42

Repository: erp/devel/pi
Changeset: 92c6988ddf2c019377830e75a5583f2648c24544
Author: Antonio Moreno <antonio.moreno <at> openbravo.com>
Date: Tue Dec 14 12:38:00 2010 +0100
URL: http://code.openbravo.com/erp/devel/pi/rev/92c6988ddf2c019377830e75a5583f2648c24544 [^]

Related to issue 15408. Improved title of error message.

---
M src/org/openbravo/erpCommon/ad_actionButton/ExportReferenceData.java
---
(0033171)
hgbot (developer)
2010-12-14 16:04

Repository: erp/stable/2.50
Changeset: 05985d41095b6cafdcd5731671db7eea86421535
Author: Antonio Moreno <antonio.moreno <at> openbravo.com>
Date: Tue Dec 14 16:03:17 2010 +0100
URL: http://code.openbravo.com/erp/stable/2.50/rev/05985d41095b6cafdcd5731671db7eea86421535 [^]

Fixed issue 15408. Export reference data will no longer trigger autosave

---
M src-db/database/sourcedata/AD_COLUMN.xml
---
(0033177)
shuehner (administrator)
2010-12-14 17:49

Tested on stable/2.50 (Rev: 2fbe2449d3ac) working fine now. However autosave is now disabled for the 'Export Reference Data' button in the 'Dataset' window.
(0033442)
hudsonbot (developer)
2010-12-30 13:13

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/92c6988ddf2c [^]
Merge Changeset: http://code.openbravo.com/erp/devel/main/rev/7d7e5eebcc62 [^]
Tests: http://builds.openbravo.com/view/int/ [^]
OBX: http://builds.openbravo.com/erp/core/obx/OpenbravoERP-2.50CI.19448.obx [^]

- Issue History
Date Modified Username Field Change
2010-12-13 12:58 marvintm Type defect => backport
2010-12-13 12:58 marvintm fix_in_branch => 2.50
2010-12-13 13:07 hgbot Checkin
2010-12-13 13:07 hgbot Note Added: 0033124
2010-12-13 13:07 hgbot Status scheduled => resolved
2010-12-13 13:07 hgbot Resolution open => fixed
2010-12-13 13:07 hgbot Fixed in SCM revision => http://code.openbravo.com/erp/stable/2.50/rev/f885981148aa1a30b66f70b3249e03cbc0967f68 [^]
2010-12-14 12:42 hgbot Checkin
2010-12-14 12:42 hgbot Note Added: 0033162
2010-12-14 16:04 hgbot Checkin
2010-12-14 16:04 hgbot Note Added: 0033171
2010-12-14 16:04 hgbot Fixed in SCM revision http://code.openbravo.com/erp/stable/2.50/rev/f885981148aa1a30b66f70b3249e03cbc0967f68 [^] => http://code.openbravo.com/erp/stable/2.50/rev/05985d41095b6cafdcd5731671db7eea86421535 [^]
2010-12-14 17:49 shuehner Note Added: 0033177
2010-12-14 17:49 shuehner Status resolved => closed
2010-12-30 13:13 hudsonbot Checkin
2010-12-30 13:13 hudsonbot Note Added: 0033442


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker