Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
ID | ||||||||
0016422 | ||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||
defect | [Openbravo ERP] Y. DBSourceManager | major | have not tried | 2011-03-22 14:38 | 2011-06-10 13:20 | |||
Reporter | marvintm | View Status | public | |||||
Assigned To | marvintm | |||||||
Priority | urgent | Resolution | fixed | Fixed in Version | 3.0RC5 | |||
Status | closed | Fix in branch | Fixed in SCM revision | e3a7846219dd | ||||
Projection | none | ETA | none | Target Version | ||||
OS | Any | Database | Any | Java version | ||||
OS Version | Database version | Ant version | ||||||
Product Version | SCM revision | |||||||
Review Assigned To | ||||||||
Web browser | ||||||||
Modules | Core | |||||||
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. | |||||||
Tags | No tags attached. | |||||||
Attached Files | ||||||||
Relationships [ Relation Graph ] [ Dependency Graph ] | ||||||||
|
Notes | |
(0035149) hgbot (developer) 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 --- |
(0035353) psarobe (manager) 2011-03-30 09:00 |
Fixed in RC5EU1 |
(0035700) hgbot (developer) 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 --- |
(0038232) shuehner (administrator) 2011-06-10 13:20 |
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. |
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 |
Copyright © 2000 - 2009 MantisBT Group |