Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0008359Openbravo ERPY. DBSourceManagerpublic2009-03-31 11:052009-05-12 11:34
marvintm 
marvintm 
normalmajorhave not tried
closedfixed 
5
 
2.40MP4 
Core
No
0008359: model loading fails when PostgreSQL contrib packages are installed and functions are automatically added to new database
model loading fails when PostgreSQL contrib packages are installed and functions are automatically added to new database.

It appears that there are two ways in which contrib packages can be installed: sometimes, functions are not automatically loaded to new databases when they are created, and sometimes they are.

If they are not, model loading works fine. However, if the functions are added to the database, then dbsourcemanager fails to read some of them, and sometimes it can even crash.
No tags attached.
blocks defect 0008354 closed marvintm model loading fails when PostgreSQL contrib packages are installed and functions are automatically added to new database 
Issue History
2009-03-31 12:24marvintmTypedefect => backport
2009-03-31 12:24marvintmfix_in_branch => 2.40
2009-03-31 12:28hgbotCheckin
2009-03-31 12:28hgbotNote Added: 0015080
2009-03-31 12:28hgbotStatusscheduled => resolved
2009-03-31 12:28hgbotResolutionopen => fixed
2009-03-31 12:28hgbotFixed in SCM revision => http://code.openbravo.com/erp/stable/2.40/rev/ef5d02a64db41e6e451ce9f838a2b2ea779ea34d [^]
2009-05-10 19:37psarobeFixed in Version => 2.40MP4
2009-05-12 11:34psarobeStatusresolved => closed
2009-05-12 11:34psarobeNote Added: 0016291

Notes
(0015080)
hgbot   
2009-03-31 12:28   
Repository: erp/stable/2.40
Changeset: ef5d02a64db41e6e451ce9f838a2b2ea779ea34d
Author: Antonio Moreno <antonio.moreno <at> openbravo.com>
Date: Tue Mar 31 12:33:14 2009 +0200
URL: http://code.openbravo.com/erp/stable/2.40/rev/ef5d02a64db41e6e451ce9f838a2b2ea779ea34d [^]

Fixed issue 8359. PostgreSQL database will be created usint template0 to avoid having functions imported from any contrib package.

---
M src-db/database/build.xml
---
(0016291)
psarobe   
2009-05-12 11:34   
Not able to test