Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0008354Openbravo ERPY. DBSourceManagerpublic2009-03-31 11:052009-04-15 12:00
marvintm 
marvintm 
normalmajorhave not tried
closedfixed 
5
 
2.50 
Core
No
0008354: 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.
250 QA
depends on backport 0008359 closed marvintm model loading fails when PostgreSQL contrib packages are installed and functions are automatically added to new database 
Issue History
2009-03-31 11:05marvintmNew Issue
2009-03-31 11:05marvintmAssigned To => marvintm
2009-03-31 11:05marvintmRegression testing => No
2009-03-31 12:24marvintmStatusnew => acknowledged
2009-03-31 12:24marvintmStatusacknowledged => scheduled
2009-03-31 12:24marvintmfix_in_branch => pi
2009-03-31 12:31hgbotCheckin
2009-03-31 12:31hgbotNote Added: 0015081
2009-03-31 12:31hgbotStatusscheduled => resolved
2009-03-31 12:31hgbotResolutionopen => fixed
2009-03-31 12:31hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/c42786338e1919656115c164663c2a036bdffcbd [^]
2009-04-03 11:12marvintmTag Attached: 250 QA
2009-04-03 12:32plujanStatusresolved => closed
2009-04-03 12:32plujanNote Added: 0015160
2009-04-15 12:00anonymoussf_bug_id0 => 2764952

Notes
(0015081)
hgbot   
2009-03-31 12:31   
Repository: erp/devel/pi
Changeset: c42786338e1919656115c164663c2a036bdffcbd
Author: Antonio Moreno <antonio.moreno <at> openbravo.com>
Date: Tue Mar 31 12:35:30 2009 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/c42786338e1919656115c164663c2a036bdffcbd [^]

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

---
M src-db/database/build-create.xml
M src-db/database/build.xml
---
(0015160)
plujan   
2009-04-03 12:32   
Review on main