Hi Anthony,
should be fixed with my recent commit.
Thanks for reporting
I enabled now “sql_mode=ONLY_FULL_GROUP_BY” in my MySQL configuration
(/etc/my.cnf).
Should give an error, as PostgreSQL does, if not all columns are
mentioned. Maybe that helps to avoid that problems in future.
Ralf
@Nathan: Can you enable that on your development box too?
Using PostgreSQL, the following occurs when accessing groupdav.php via
Thunderbird/Lightening:
Sorry, I didn’t realize the message (and the help part) got cut off…
ERROR: column “egw_cal_repeats.recur_type” must appear in the GROUP BY
clause or be used in an aggregate function at character 8
STATEMENT: SELECT
egw_cal_repeats.recur_type,egw_cal_repeats.recur_enddate,egw_cal_repeats.recur_interval,egw_cal_repeats.recur_data,egw_cal_repeats.recur_exception,CAST(egw_cal.cal_id
AS
varchar),cal_uid,cal_owner,cal_category,cal_modified,cal_priority,cal_public,cal_title,cal_description,cal_location,cal_reference,cal_modifier,cal_non_blocking,cal_special,cal_etag,cal_creator,cal_created,cal_recurrence,tz_id,cal_deleted,caldav_name,MIN(cal_start)
AS cal_start,cal_end,egw_cal_user.cal_recur_date,NULL AS
participants,NULL AS icons FROM egw_cal JOIN egw_cal_dates ON
egw_cal.cal_id=egw_cal_dates.cal_id JOIN egw_cal_user ON
egw_cal.cal_id=egw_cal_user.cal_id LEFT JOIN egw_cal_repeats ON
egw_cal.cal_id=egw_cal_repeats.cal_id WHERE cal_reference=0 AND
cal_deleted IS NULL AND egw_cal_user.cal_status != ‘R’ AND 1293703873<
(CASE WHEN recur_type IS NULL THEN cal_end ELSE (CASE WHEN
recur_enddate!=0 THEN recur_enddate ELSE 9999999999 END) END) AND
egw_cal_user.cal_recur_date=0 AND cal_start< 1333879873 AND
egw_cal_user.cal_user_type=‘u’ AND egw_cal_user.cal_user_id IN
(‘7’,’-1’,’-22’,’-24’,’-17’) GROUP BY egw_cal_dates.cal_id
ORDER BY cal_start LIMIT 500 OFFSET 0
Xperia™ PLAY
It’s a major breakthrough. An authentic gaming
smartphone on the nation’s most reliable network.
And it wants your games.
http://p.sf.net/sfu/verizon-sfdev
eGroupWare-developers mailing list
eGroupWare-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/egroupware-developers
–
Ralf Becker
Director Software Development
Stylite GmbH
[open style of IT]
Morschheimer Strasse 15
67292 Kirchheimbolanden
fon +49 (0) 6352 70629-0
fax +49 (0) 6352 70629-30
mailto: rb@stylite.de
www.stylite.de
www.egroupware.org
Geschäftsführer Andre Keller, Ralf Becker
Registergericht Kaiserslautern HRB 30575
Umsatzsteuer-Id / VAT-Id: DE214280951
Xperia™ PLAY
It’s a major breakthrough. An authentic gaming
smartphone on the nation’s most reliable network.
And it wants your games.
http://p.sf.net/sfu/verizon-sfdev
eGroupWare-developers mailing list
eGroupWare-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/egroupware-developers