Hi.
I just upgraded to 14.1
When trying to compose a new Email i get this error:
Invalid SQL: SELECT egw_ea_identities.ident_id AS
ident_id,ident_name,ident_realname,ident_org,ident_email,egw_ea_identities.acc_id
AS acc_id,egw_ea_credentials.cred_username AS
acc_imap_username,acc_imap_logintype,acc_domain FROM egw_ea_identities
JOIN egw_ea_accounts ON egw_ea_accounts.acc_id=egw_ea_identities.acc_id
LEFT JOIN egw_ea_credentials ON
egw_ea_accounts.acc_id=egw_ea_credentials.acc_id AND
egw_ea_credentials.account_id=5 AND cred_type&1 WHERE
egw_ea_identities.account_id IN (-2,-7,-1,5,0) AND
egw_ea_identities.acc_id=3 ORDER BY
egw_ea_identities.account_id,ident_realname,ident_org,ident_email
ERROR: argument of AND must be type boolean, not type integer
LINE 1: …ls.acc_id AND egw_ea_credentials.account_id=5 AND
cred_type&…
^ (-1)
I assume it is related to this:
http://svn.stylite.de/viewvc/egroupware/trunk/emailadmin/inc/class.emailadmin_credentials.inc.php?r1=44570&r2=44693&pathrev=44693
Unfortunately I am not sure how to find this point in the source but I
am sure someone familiar with the source can easily find this
Regards,
Thomas Raschbacher
P.S.: I would appreciate a CC to my email address as I do not remember
to check the imap folder for this list too often
I forgot the working SQL earlier (figured that out from the linked
patch):
SELECT egw_ea_identities.ident_id AS
ident_id,ident_name,ident_realname,ident_org,ident_email,egw_ea_identities.acc_id
AS acc_id,egw_ea_credentials.cred_username AS
acc_imap_username,acc_imap_logintype,acc_domain FROM egw_ea_identities
JOIN egw_ea_accounts ON egw_ea_accounts.acc_id=egw_ea_identities.acc_id
LEFT JOIN egw_ea_credentials ON
egw_ea_accounts.acc_id=egw_ea_credentials.acc_id AND
egw_ea_credentials.account_id=5 AND (cred_type&1)>0 WHERE
egw_ea_identities.account_id IN (-2,-7,-1,5,0) AND
egw_ea_identities.acc_id=3 ORDER BY
egw_ea_identities.account_id,ident_realname,ident_org,ident_email;
Regards
Slashdot TV.
Video for Nerds. Stuff that matters.
http://tv.slashdot.org/
eGroupWare-developers mailing list
eGroupWare-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/egroupware-developers