Openbravo Issue Tracking System - Openbravo ERP |
View Issue Details |
|
ID | Project | Category | View Status | Date Submitted | Last Update |
0015353 | Openbravo ERP | A. Platform | public | 2010-12-02 13:16 | 2010-12-30 13:13 |
|
Reporter | shuehner | |
Assigned To | marvintm | |
Priority | urgent | Severity | major | Reproducibility | have not tried |
Status | closed | Resolution | fixed | |
Platform | | OS | 5 | OS Version | |
Product Version | 2.50MP24 | |
Target Version | 2.50MP25 | Fixed in Version | | |
Merge Request Status | |
Review Assigned To | |
OBNetwork customer | |
Web browser | |
Modules | Core |
Support ticket | |
Regression level | |
Regression date | |
Regression introduced in release | |
Regression introduced by commit | |
Triggers an Emergency Pack | No |
|
Summary | 0015353: Usuing Dataset: 'Export referencedata' trigger 'db has local changes check' but is not protected by 'isindevelopment' |
Description | After 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 Reproduce | Install 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 Solution | When exporting a dataset/referencedata require the module containing it to be in development.
|
Additional Information | |
Tags | No tags attached. |
Relationships | related to | defect | 0015178 | 2.50MP25 | closed | marvintm | Users shouldn't be able to apply a dataset if it hasn't changed | depends on | backport | 0015408 | 2.50MP25 | closed | marvintm | Usuing Dataset: 'Export referencedata' trigger 'db has local changes check' but is not protected by 'isindevelopment' |
|
Attached Files | |
|
Issue History |
Date Modified | Username | Field | Change |
2010-12-02 13:16 | shuehner | New Issue | |
2010-12-02 13:16 | shuehner | Assigned To | => marvintm |
2010-12-02 13:16 | shuehner | Modules | => Core |
2010-12-02 13:16 | shuehner | Relationship added | related to 0015178 |
2010-12-06 07:46 | alostale | Status | new => scheduled |
2010-12-13 12:58 | marvintm | Status | scheduled => acknowledged |
2010-12-13 12:58 | marvintm | Status | acknowledged => scheduled |
2010-12-13 12:58 | marvintm | fix_in_branch | => pi |
2010-12-13 13:01 | hgbot | Checkin | |
2010-12-13 13:01 | hgbot | Note Added: 0033122 | |
2010-12-13 13:01 | hgbot | Status | scheduled => resolved |
2010-12-13 13:01 | hgbot | Resolution | open => fixed |
2010-12-13 13:01 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/devel/pi/rev/f0e7e3fce5616dcd0ee3ec14ee11ed66dda9a3a8 [^] |
2010-12-14 13:08 | hgbot | Checkin | |
2010-12-14 13:08 | hgbot | Note Added: 0033163 | |
2010-12-14 14:07 | shuehner | Note Added: 0033166 | |
2010-12-14 14:07 | shuehner | Status | resolved => new |
2010-12-14 14:07 | shuehner | Resolution | fixed => open |
2010-12-14 16:00 | hgbot | Checkin | |
2010-12-14 16:00 | hgbot | Note Added: 0033170 | |
2010-12-14 16:00 | hgbot | Status | new => resolved |
2010-12-14 16:00 | hgbot | Resolution | open => fixed |
2010-12-14 16:00 | hgbot | Fixed in SCM revision | http://code.openbravo.com/erp/devel/pi/rev/f0e7e3fce5616dcd0ee3ec14ee11ed66dda9a3a8 [^] => http://code.openbravo.com/erp/devel/pi/rev/dad0e6a907253d8483b2e548ac68b5ea747bcd26 [^] |
2010-12-14 16:41 | shuehner | Note Added: 0033176 | |
2010-12-14 16:41 | shuehner | Status | resolved => closed |
2010-12-16 22:16 | anonymous | sf_bug_id | 0 => 3138802 |
2010-12-30 13:13 | hudsonbot | Checkin | |
2010-12-30 13:13 | hudsonbot | Note Added: 0033435 | |
2010-12-30 13:13 | hudsonbot | Checkin | |
2010-12-30 13:13 | hudsonbot | Note Added: 0033445 | |
Notes |
|
(0033122)
|
hgbot
|
2010-12-13 13:01
|
|
Repository: erp/devel/pi
Changeset: f0e7e3fce5616dcd0ee3ec14ee11ed66dda9a3a8
Author: Antonio Moreno <antonio.moreno <at> openbravo.com>
Date: Mon Dec 13 13:00:09 2010 +0100
URL: http://code.openbravo.com/erp/devel/pi/rev/f0e7e3fce5616dcd0ee3ec14ee11ed66dda9a3a8 [^]
Fixed issue 15353. The process will check if the module is in development before running.
---
M src/org/openbravo/erpCommon/ad_actionButton/ExportReferenceData.java
---
|
|
|
(0033163)
|
hgbot
|
2010-12-14 13:08
|
|
|
|
|
Not working. Using the export button with a module not in development now does show an error message. However the next update.database will still fail. As the ad_dataset row was still changed.
Most likely by the automatically triggered autosave (when clicking the button) which does at least update the updatedby columns.
Ideas to fix:
- change autosave to not to empty updates
- trigger which avoids changing updated on this table only if there's no real change
- disable autosave for this button (there's an option to configure that)
- hide button with displaylogic if module is not in development
- disable button with readonlylogic if module is not in development |
|
|
(0033170)
|
hgbot
|
2010-12-14 16:00
|
|
|
|
|
Tested on pi/pgsql (rev: dad0e6a90725) now working fine. However autosave is now disabled for this button (export reference data) in the 'dataset window. |
|
|
|
|
|
|
|