Summary | wrong date for SQL generated |
Queue | Horde Framework Packages |
Queue Version | Git master |
Type | Bug |
State | Duplicate |
Priority | 2. Medium |
Owners | |
Requester | d-fens (at) 00010111 (dot) de |
Created | 09/06/2010 (5452 days ago) |
Due | |
Updated | 09/21/2010 (5437 days ago) |
Assigned | 09/12/2010 (5446 days ago) |
Resolved | 09/21/2010 (5437 days ago) |
Github Issue Link | |
Github Pull Request | |
Milestone | |
Patch | No |
State ⇒ Duplicate
bug 9253.show everything?
passed to it, anyway -
what parameters do you miss in what function, doesn't the backtrace
show everything?
has occurred</h1><h3>Event array did not contain a message</h3><div
id="backtrace"><pre> 1. Horde_Rpc_Syncml->getResponse()
log a backtrace. ;-) Still contains a backtrace, so this might work.
More important though are the parameter passed to the last method.
What are those?
if ($startstamp == null){
$startstamp = 0;
}
if ($endstamp == null){
$endstamp = 2147483647;
}
in kronolith/lib/Api.php function listEvents line 1150 ?
has occurred</h1><h3>Event array did not contain a message</h3><div
id="backtrace"><pre> 1. Horde_Rpc_Syncml->getResponse()
/var/www/catchall/htdocs/horde/rpc.php:164
2. SyncML_ContentHandler->process()
/var/www/catchall/htdocs/horde/lib/Horde/Rpc/Syncml.php:56
3. xml_parse() /var/www/catchall/htdocs/horde/lib/SyncML.php:144
4. SyncML_ContentHandler->_endElement()
5. SyncML_ContentHandler->endElement()
/var/www/catchall/htdocs/horde/lib/SyncML.php:233
6. SyncML_ContentHandler->handleCommand()
/var/www/catchall/htdocs/horde/lib/SyncML.php:320
7. SyncML_Command_Final->handleCommand()
/var/www/catchall/htdocs/horde/lib/SyncML.php:450
8. SyncML_State->handleFinal()
/var/www/catchall/htdocs/horde/lib/SyncML/Command/Final.php:48
9. SyncML_Sync->handleFinal()
/var/www/catchall/htdocs/horde/lib/SyncML/State.php:408
10. SyncML_Sync->createSyncOutput()
/var/www/catchall/htdocs/horde/lib/SyncML/Sync.php:631
11. SyncML_Sync->_retrieveChanges()
/var/www/catchall/htdocs/horde/lib/SyncML/Sync.php:387
12. SyncML_Backend_Horde->getServerChanges()
/var/www/catchall/htdocs/horde/lib/SyncML/Sync.php:587
13. Horde_Registry_Caller->listEvents()
/var/www/catchall/htdocs/horde/lib/SyncML/Backend/Horde.php:145
14. Horde_Registry_Caller->__call()
/var/www/catchall/htdocs/horde/lib/SyncML/Backend/Horde.php:145
15. Horde_Registry->call()
/var/www/catchall/htdocs/horde/lib/Horde/Registry/Caller.php:41
16. Horde_Registry->callByPackage()
/var/www/catchall/htdocs/horde/lib/Horde/Registry.php:853
17. call_user_func_array()
/var/www/catchall/htdocs/horde/lib/Horde/Registry.php:894
18. Kronolith_Api->listEvents()
19. Kronolith::listEvents()
/var/www/catchall/htdocs/horde/kronolith/lib/Api.php:1168
20. Kronolith_Driver_Sql->listEvents()
/var/www/catchall/htdocs/horde/kronolith/lib/Kronolith.php:476
21. Kronolith_Driver_Sql->_listEventsConditional()
/var/www/catchall/htdocs/horde/kronolith/lib/Driver/Sql.php:274
22. Horde::logMessage()
/var/www/catchall/htdocs/horde/kronolith/lib/Driver/Sql.php:330
23. Horde_Core_Log_Logger->log()
/var/www/catchall/htdocs/horde/lib/Horde.php:90
24. Horde_Log_Logger->log()
/var/www/catchall/htdocs/horde/lib/Horde/Core/Log/Logger.php:42
[trace:private] => Array
(
[0] => Array
(
[file] =>
/var/www/catchall/htdocs/horde/lib/Horde/Core/Log/Logger.php
[line] => 42
[function] => log
[class] => Horde_Log_Logger
[type] => ->
[args] => Array
(
[0] => Array
(
[0] => Array
(
[file] =>
/var/www/catchall/htdocs/horde/kronolith/lib/Driver/Sql.php
[line] => 274
[function] =>
_listEventsConditional
[class] => Kronolith_Driver_Sql
[object] =>
Kronolith_Driver_Sql Object
xxxxxx
)
[type] => ->
[args] => Array
(
[0] => Horde_Date Object
(
[_year:protected] =>
[_month:protected] =>
[_mday:protected] =>
[_hour:protected] => 0
[_min:protected] => 0
[_sec:protected] => 0
[_timezone:protected] => Europe/Berlin
[_defaultFormat:protected] => Y-m-d H:i:s
[_formatCache:protected] => Array
(
)
)
[1] => Horde_Date Object
(
[_year:protected] =>
[_month:protected] =>
[_mday:protected] =>
[_hour:protected] => 23
[_min:protected] => 59
[_sec:protected] => 59
[_timezone:protected] => Europe/Berlin
[_defaultFormat:protected] => Y-m-d H:i:s
[_formatCache:protected] => Array
(
)
)
[2] =>
[3] => Array
(
)
)
)
[1] => Array
(
[file] =>
/var/www/catchall/htdocs/horde/kronolith/lib/Kronolith.php
[line] => 476
[function] => listEvents
[class] => Kronolith_Driver_Sql
[object] =>
Kronolith_Driver_Sql Object
(
xxxxxxxxxxxxxxxxxxxxxxx
)
[type] => ->
[args] => Array
(
[0] => Horde_Date Object
(
[_year:protected] =>
[_month:protected] =>
[_mday:protected] =>
[_hour:protected] => 0
[_min:protected] => 0
[_sec:protected] => 0
[_timezone:protected] => Europe/Berlin
[_defaultFormat:protected] => Y-m-d H:i:s
[_formatCache:protected] => Array
(
)
)
[1] => Horde_Date Object
(
[_year:protected] =>
[_month:protected] =>
[_mday:protected] =>
[_hour:protected] => 0
[_min:protected] => 0
[_sec:protected] => 0
[_timezone:protected] => Europe/Berlin
[_defaultFormat:protected] => Y-m-d H:i:s
[_formatCache:protected] => Array
(
)
)
[2] => 1
[3] =>
[4] =>
[5] => 1
[6] =>
[7] =>
)
)
[2] => Array
(
[file] =>
/var/www/catchall/htdocs/horde/kronolith/lib/Api.php
[line] => 1168
[function] => listEvents
[class] => Kronolith
[type] => ::
[args] => Array
(
[0] => Horde_Date Object
(
[_year:protected] =>
[_month:protected] =>
[_mday:protected] =>
[_hour:protected] => 0
[_min:protected] => 0
[_sec:protected] => 0
[_timezone:protected] => Europe/Berlin
[_defaultFormat:protected] => Y-m-d H:i:s
[_formatCache:protected] => Array
(
)
)
[1] => Horde_Date Object
(
[_year:protected] =>
[_month:protected] =>
[_mday:protected] =>
[_hour:protected] => 0
[_min:protected] => 0
[_sec:protected] => 0
[_timezone:protected] => Europe/Berlin
[_defaultFormat:protected] => Y-m-d H:i:s
[_formatCache:protected] => Array
(
)
)
[2] => Array
(
[0] => xxx@xxxx.xx
)
[3] => 1
[4] =>
[5] => 1
[6] =>
[7] => 1
[8] =>
)
)
[3] => Array
(
[function] => listEvents
[class] => Kronolith_Api
[object] => Kronolith_Api Object
(
[links] => Array
(
[show] =>
%application%/event.php?calendar=|calendar|&eventID=|event|&uid=|uid|
)
[noPerms] => Array
(
)
[disabled] => Array
(
)
)
[type] => ->
[args] => Array
(
[0] =>
)
)
[4] => Array
(
[file] =>
/var/www/catchall/htdocs/horde/lib/Horde/Registry.php
[line] => 894
[function] => call_user_func_array
[args] => Array
(
[0] => Array
(
[0] =>
Kronolith_Api Object
(
[links] => Array
(
[show] =>
%application%/event.php?calendar=|calendar|&eventID=|event|&uid=|uid|
)
[noPerms] => Array
(
)
[disabled] => Array
(
)
)
[1] => listEvents
)
[1] => Array
(
[0] =>
)
)
)
State ⇒ Feedback
Priority ⇒ 2. Medium
Type ⇒ Bug
Summary ⇒ wrong date for SQL generated
Queue ⇒ Horde Framework Packages
Milestone ⇒
Patch ⇒ No
State ⇒ Unconfirmed
don't know if its syncml or kronolith bug:
when tring to get the changes from the server a invalid date is generate:
2010-09-06T14:29:42+02:00 DEBUG: HORDE [kronolith]
Kronolith_Driver_Sql::_listEventsConditional(): user = "xx@xxx.de";
query = "SELECT event_id, event_uid, event_description,
event_location, event_private, event_status, event_attendees,
event_title, event_recurcount, event_url, event_recurtype,
event_recurenddate, event_recurinterval, event_recurdays, event_start,
event_end, event_allday, event_alarm, event_alarm_methods,
event_modified, event_exceptions, event_creator_id, event_resources,
event_baseid, event_exceptionoriginaldate FROM kronolith_events WHERE
calendar_id = ? AND ((event_end >= ? AND event_start <= ?) OR
(event_recurenddate >= ? AND event_start <= ? AND event_recurtype <>
?))"; values = "xxx@xx.de,-0001-11-29 23:00:00,-0001-11-30
22:59:59,-0001-11-29 23:00:00,-0001-11-30 22:59:59,0" [pid 24653 on
line 352 of
"/var/www/catchall/htdocs/horde/kronolith/lib/Driver/Sql.php"]