Openbravo Issue Tracking System - Openbravo ERP |
View Issue Details |
|
ID | Project | Category | View Status | Date Submitted | Last Update |
0016422 | Openbravo ERP | Y. DBSourceManager | public | 2011-03-22 14:38 | 2011-06-10 13:20 |
|
Reporter | marvintm | |
Assigned To | marvintm | |
Priority | urgent | Severity | major | Reproducibility | have not tried |
Status | closed | Resolution | fixed | |
Platform | | OS | 5 | OS Version | |
Product Version | | |
Target Version | | Fixed in Version | 3.0RC5 | |
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 | 0016422: Local changes detected when a database is exported with pg_dump and imported again |
Description | When a database is exported and imported again with pg_dump/pg_restore, the ad_db_modified function finds changes (which do not exist) in the database structure.
The problem happens because PostsgreSQL adds some characters ('()' and '[]') to the database views and checks. Then, the calculated mp5 is different, and therefore, changes are detected. |
Steps To Reproduce | Install the rc5 virtual appliance, and verify that when you try to install a module, pack, or Core obx, changes are detected in the database. |
Proposed Solution | |
Additional Information | |
Tags | No tags attached. |
Relationships | related to | backport | 0016429 | | closed | marvintm | Local changes detected when a database is exported with pg_dump and imported again |
|
Attached Files | |
|
Issue History |
Date Modified | Username | Field | Change |
2011-03-22 14:38 | marvintm | New Issue | |
2011-03-22 14:38 | marvintm | Assigned To | => marvintm |
2011-03-22 14:38 | marvintm | Modules | => Core |
2011-03-22 15:10 | hgbot | Checkin | |
2011-03-22 15:10 | hgbot | Note Added: 0035149 | |
2011-03-22 15:10 | hgbot | Status | new => resolved |
2011-03-22 15:10 | hgbot | Resolution | open => fixed |
2011-03-22 15:10 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/devel/pi/rev/639512a95f28ff87313fecd58dd00ebd300f7027 [^] |
2011-03-30 09:00 | psarobe | Note Added: 0035353 | |
2011-03-30 09:00 | psarobe | Status | resolved => closed |
2011-03-30 09:00 | psarobe | Fixed in Version | => 3.0RC5 |
2011-03-31 00:00 | anonymous | sf_bug_id | 0 => 3261338 |
2011-04-07 11:10 | hgbot | Checkin | |
2011-04-07 11:10 | hgbot | Note Added: 0035700 | |
2011-04-07 11:10 | hgbot | Status | closed => resolved |
2011-04-07 11:10 | hgbot | Fixed in SCM revision | http://code.openbravo.com/erp/devel/pi/rev/639512a95f28ff87313fecd58dd00ebd300f7027 [^] => http://code.openbravo.com/erp/devel/pi/rev/e3a7846219dda22963ffe765ca76a537b9a3ceb2 [^] |
2011-06-10 13:19 | plujan | Relationship added | related to 0016429 |
2011-06-10 13:20 | shuehner | Note Added: 0038232 | |
2011-06-10 13:20 | shuehner | Status | resolved => closed |
Notes |
|
(0035149)
|
hgbot
|
2011-03-22 15:10
|
|
Repository: erp/devel/pi
Changeset: 639512a95f28ff87313fecd58dd00ebd300f7027
Author: Antonio Moreno <antonio.moreno <at> openbravo.com>
Date: Tue Mar 22 15:09:17 2011 +0100
URL: http://code.openbravo.com/erp/devel/pi/rev/639512a95f28ff87313fecd58dd00ebd300f7027 [^]
Fixed issue 16422. dump/restore will no longer cause ad_db_modified to detect non-existant db structure changes
---
M src-db/database/model/prescript-PostgreSql.sql
---
|
|
|
|
|
|
(0035700)
|
hgbot
|
2011-04-07 11:10
|
|
Repository: erp/devel/pi
Changeset: e3a7846219dda22963ffe765ca76a537b9a3ceb2
Author: Antonio Moreno <antonio.moreno <at> openbravo.com>
Date: Tue Mar 22 15:09:17 2011 +0100
URL: http://code.openbravo.com/erp/devel/pi/rev/e3a7846219dda22963ffe765ca76a537b9a3ceb2 [^]
Fixed issue 16422. dump/restore will no longer cause ad_db_modified to detect non-existant db structure changes
---
M src-db/database/model/prescript-PostgreSql.sql
---
|
|
|
|
Tested in pi-mp0/pgsql now with clean db-state after pg_dump/pg_restore the next update.database does not complain about local changes.
However: side-effect of this fix is that any real local changes (in pgsql only) inside views + checks will never be detected anymore. |
|