Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 122148 - some errors in postfixadmin with postgresl 8.0.4
Summary: some errors in postfixadmin with postgresl 8.0.4
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High major (vote)
Assignee: Gunnar Wrobel (RETIRED)
URL:
Whiteboard:
Keywords:
: 122253 (view as bug list)
Depends on:
Blocks:
 
Reported: 2006-02-08 10:14 UTC by Sergio Bevilacqua
Modified: 2006-02-12 00:50 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
this is the patch for templates/admin_list-admin.tpl (pfa01.diff,3.34 KB, patch)
2006-02-08 10:16 UTC, Sergio Bevilacqua
Details | Diff
patch for SQL code (pfa03.diff,8.35 KB, patch)
2006-02-09 07:41 UTC, Sergio Bevilacqua
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Sergio Bevilacqua 2006-02-08 10:14:17 UTC
there's a format error in postfixadmin 2.0.1 when it's used with postgresl 8.0.4
in the file templates/admin_list-admin.tpl it passes an int value to an boolean field
Comment 1 Sergio Bevilacqua 2006-02-08 10:16:53 UTC
Created attachment 79241 [details, diff]
this is the patch for templates/admin_list-admin.tpl

this patch corrects data type passed in templates/admin_list-admin.tpl
Comment 2 Jakub Moc (RETIRED) gentoo-dev 2006-02-09 07:38:30 UTC
*** Bug 122253 has been marked as a duplicate of this bug. ***
Comment 3 Sergio Bevilacqua 2006-02-09 07:41:59 UTC
Created attachment 79322 [details, diff]
patch for SQL code
Comment 4 Gunnar Wrobel (RETIRED) gentoo-dev 2006-02-12 00:50:29 UTC
Thanks for the patches. I should have actually tested postgres support before.

I was able to integrate the patches into the ebuild and tried to use the app with postgres but there was still a problem. The backup.php uses the SQL command "SHOW CREATE TABLE" that will fail with postgres. As far as I can tell from googling around, there is no easy fix for this.

Since I can't leave the postgres support in the ebuild if that leads to a broken app I had to remove the use flag.

I did add a postfixadmin ebuild that includes your patches to our overlay though. It can be found here:

http://svn.gnqs.org/projects/gentoo-webapps-overlay/browser/experimental/www-apps/postfixadmin

Thanks again for your contribution!