[Web-cyradm] [bugs #5272] More than three aliases aren't displayed
correctly
Luc de Louw
noreply at savannah.nongnu.org
Tue Nov 30 19:13:13 CET 2004
This mail is an automated notification from the bugs tracker
of the project: web-cyradm.
/**************************************************************************/
[bugs #5272] Latest Modifications:
Changes by:
Luc de Louw <luc at delouw.ch>
'Date:
Die 30.11.2004 at 18:16 (Europe/Zurich)
What | Removed | Added
---------------------------------------------------------------------------
Status | Open | Closed
/**************************************************************************/
[bugs #5272] Full Item Snapshot:
URL: <http://savannah.nongnu.org/bugs/?func=detailitem&item_id=5272>
Project: web-cyradm
Submitted by: Chris Dos
On: Son 14.09.2003 at 00:03
Category: None
Severity: 5 - Average
Priority: 5 - Normal
Item Group: normal bugs
Resolution: Unreproducible
Privacy: Public
Assigned to: delouw
Originator Name: Chris Dos
Originator Email: chris at chrisdos.com
Status: Closed
Release: 0.5.4
Platform Version: None
Reproducibility: None
Planned Release: None
Cyrus IMAP version: None
PHP version: None
Database type: None
Summary: More than three aliases aren't displayed correctly
Original Submission: I've tested this against rc2 and cvs-9-14 with the same results. When I add more than three aliases for a domain, the 4th and consecutive aliases show up in the web gui as being empty, but the data is being inserted correctly in the database.
Follow-up Comments
------------------
-------------------------------------------------------
Date: Mon 18.10.2004 at 13:08 By: Alexander Koch <akilk>
Same on Debian Woody with:
$ dpkg -l php* | grep '^i'
ii php4 4.1.2-7.0.1 A server-side, HTML-
ii php4-cgi 4.1.2-7.0.1 A server-side, HTML-
ii php4-curl 4.1.2-7.0.1 CURL module for php4
ii php4-domxml 4.1.2-7.0.1 XMLv2 module for php4
ii php4-gd2 4.1.2-2 GD module (with GD2) for
ii php4-imap 4.1.2-7.0.1 IMAP module for php4
ii php4-mysql 4.1.2-7.0.1 MySQL module for php4
ii php4-pear 4.1.2-7 PEAR - PHP Extension and
ii php4-recode 4.1.2-7.0.1 Character recoding module
and
ii web-cyradm 0.5.4-15 Web-cyradm.
A upgrade (PHP Pear) at the moment is not possible.
I attach a patch which change the SQL. It works with
MySQL as Database.
-------------------------------------------------------
Date: Don 08.04.2004 at 18:09 By: Kevin Curran <kcurran>
I was having the same problem on debian stable (woody), upgrading php fixed it. It does not seem to be a problem on sarge.
I was able to reproduce the problem on a second debian machine.
My system is running on debian stable with backports from sarge
deb http://people.debian.org/~hmh/woody/ hmh/cyrus/
deb http://people.debian.org/~hmh/woody/ hmh/misc/
deb http://people.debian.org/~hmh/woody/ hmh/postfix/
Old php Versions (only 3 aliases display)
php4-pear 4.1.2-6woody3
php4 4.1.2-6woody3
php4-imap 4.1.2-6woody3
php4-mysql 4.1.2-6woody3
upgraded php from
deb http://debian.moolfreet.com ./
Newer Versions (working)
php4 4.3.5-1.dotdeb
php4-cgi 4.3.5-1.dotdeb
php4-imap 4.3.5-1.dotdeb
php4-mysql 4.3.5-1.dotdeb
php4-pear 4.3.5-1.dotdeb
after upgrading I restarted apache and I was able to see all aliases
-------------------------------------------------------
Date: Mon 15.03.2004 at 23:07 By: Luc de Louw <delouw>
Bug not reproducable, please provide more information about the system. Very interessting would be the version of PEAR:DB used
-------------------------------------------------------
Date: Fre 03.10.2003 at 15:47 By: M. Schaefer <mfs>
I have the same problem.
Seams that the limitQuery function is buggy and interferes with the other result-sets.
Fixed this for me by making a normal query (was alread in the code but commented out) and limiting the for-loop to 3 results.
See attached diff for my solution, seams to work.
CC List
-------
CC Address | Comment
------------------------------------+-----------------------------
akilk |
File Attachments
-------------------
-------------------------------------------------------
Date: Mon 18.10.2004 at 13:08 Name: aliases.php.patch Size: 527B By: akilk
Fix for MySQL Database backend
http://savannah.nongnu.org/bugs/download.php?item_id=5272&item_file_id=1773
-------------------------------------------------------
Date: Fre 03.10.2003 at 15:47 Name: aliases.php.diff Size: 406B By: mfs
Fix
http://savannah.nongnu.org/bugs/download.php?item_id=5272&item_file_id=700
-------------------------------------------------------
Date: Son 14.09.2003 at 00:03 Name: blank_entires.jpg Size: 89,92KB By: chrisdos
Web page showing blank entires
http://savannah.nongnu.org/bugs/download.php?item_id=5272&item_file_id=649
For detailed info, follow this link:
<http://savannah.nongnu.org/bugs/?func=detailitem&item_id=5272>
_______________________________________________
Message sent via/by Savannah
http://savannah.nongnu.org/
More information about the Web-cyradm
mailing list