Should be fixed with following commit:
http://svn.stylite.de/viewvc/egroupware?revision=44693&view=revision
Ralf
Would you try && for min in line 119 and 271
instead of & in emailadmin/inc/class.emailadmin_credentials.inc.php
and if this does not work trying to replace the && in those lines with AND
With “&&”:
Invalid SQL: SELECT * FROM egw_ea_credentials WHERE acc_id=1 AND account_id
IN (0,6) AND cred_type && 11 ORDER BY account_id ASC
ERROR: operator does not exist: smallint && integer
LINE 1: …RE acc_id=1 AND account_id IN (0,6) AND cred_type && 11 ORDE…
^
HINT: No operator matches the given name and argument type(s). You might
need to add explicit type casts. (-1)
With “AND”:
Invalid SQL: SELECT * FROM egw_ea_credentials WHERE acc_id=1 AND account_id
IN (0,6) AND cred_type AND 11 ORDER BY account_id ASC
ERROR: argument of AND must be type boolean, not type smallint
LINE 1: …tials WHERE acc_id=1 AND account_id IN (0,6) AND cred_type …
^ (-1)
More info from the PostgreSQL logs:
ERROR: operator does not exist: smallint && integer at character 88
HINT: No operator matches the given name and argument type(s). You might need
to add explicit type casts.
STATEMENT: SELECT * FROM egw_ea_credentials WHERE acc_id=1 AND account_id IN
(0,6) AND cred_type && 11 ORDER BY account_id ASC
ERROR: operator does not exist: smallint && integer at character 88
HINT: No operator matches the given name and argument type(s). You might need
to add explicit type casts.
STATEMENT: SELECT * FROM egw_ea_credentials WHERE acc_id=1 AND account_id IN
(0,6) AND cred_type && 11 ORDER BY account_id ASC
ERROR: argument of AND must be type boolean, not type smallint at character
78
STATEMENT: SELECT * FROM egw_ea_credentials WHERE acc_id=1 AND account_id IN
(0,6) AND cred_type AND 11 ORDER BY account_id ASC
ERROR: argument of AND must be type boolean, not type smallint at character
78
STATEMENT: SELECT * FROM egw_ea_credentials WHERE acc_id=1 AND account_id IN
(0,6) AND cred_type AND 11 ORDER BY account_id ASC
Rapidly troubleshoot problems before they affect your business. Most IT
organizations don’t have a clear picture of how application performance
affects their revenue. With AppDynamics, you get 100% visibility into your
Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro!
http://pubads.g.doubleclick.net/gampad/clk?id=84349351&iu=/4140/ostg.clktrk
eGroupWare-developers mailing list
eGroupWare-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/egroupware-developers
–
Ralf Becker
Director Software Development
Stylite AG
Morschheimer Strasse 15 | Tel. +49 6352 70629 0
D-67292 Kirchheimbolanden | Fax. +49 6352 70629 30
Email: rb@stylite.de
www.stylite.de | www.egroupware.org
Managing Directors: Andre Keller | Ralf Becker | Gudrun Mueller
Chairman of the supervisory board: Prof. Dr. Birger Leon Kropshofer
VAT DE214280951 | Registered HRB 31158 Kaiserslautern Germany
Rapidly troubleshoot problems before they affect your business. Most IT
organizations don’t have a clear picture of how application performance
affects their revenue. With AppDynamics, you get 100% visibility into your
Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro!
http://pubads.g.doubleclick.net/gampad/clk?id=84349351&iu=/4140/ostg.clktrk
eGroupWare-developers mailing list
eGroupWare-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/egroupware-developers