Summary | SyncML failure with Nokia N8 |
Queue | Synchronization |
Queue Version | Git master |
Type | Bug |
State | Resolved |
Priority | 1. Low |
Owners | jan (at) horde (dot) org |
Requester | leena.heino (at) uta (dot) fi |
Created | 03/09/2011 (5233 days ago) |
Due | |
Updated | 03/16/2011 (5226 days ago) |
Assigned | 03/10/2011 (5232 days ago) |
Resolved | 03/16/2011 (5226 days ago) |
Github Issue Link | |
Github Pull Request | |
Milestone | |
Patch | No |
Bug #9646: preg_replace_callback() passes an array to the callback function.1 files changed, 4 insertions(+), 4 deletions(-)
http://git.horde.org/horde-git/-/commit/2cc9e3fc94e2f3c9279b74fd4a215ff42c8ccc13
in _initializeFromArgs()?
this is not compatible to initializeFromArrays?
Device.php Line 276
public function convertUTC2LocalTime($utc)
{
$date = new Horde_Date($utc[0]);
Probably there's a better solution, but at least it is working :)
no error, but entries are not on the phone.
in _initializeFromArgs()?
this is not compatible to initializeFromArrays?
string is expected.
This is working for me: Device.php Line 208:
array($this, 'convertUTC2LocalTime'),$content[0]);
in _initializeFromArgs()?
is not compatible to initializeFromArrays?
$date in _initializeFromArgs()?
in _initializeFromArgs()?
this 0 is coming from, and what kind of weird PHP behavior makes it
pass the explicit value filter in Horde_Date::_initializeFromArray().
this 0 is coming from, and what kind of weird PHP behavior makes it
pass the explicit value filter in Horde_Date::_initializeFromArray().
#3still applies. I don't see how a property _0 could be setfrom the method listed in your backtrace.
12. Horde_SyncMl_Device_Nokia->convertServer2Client()
/var/www/horde/framework/SyncMl/lib/Horde/SyncMl/Sync.php:490
13. Horde_SyncMl_Device->convertServer2Client()
/var/www/horde/framework/SyncMl/lib/Horde/SyncMl/Device/Nokia.php:68
Same sync with funambol works fine.
#3still applies. I don't see how a property _0 could be setfrom the method listed in your backtrace.
2011-03-09T10:31:05+02:00 EMERG: HORDE [horde] Undefined property _0
[pid 32360 on line 450 of
"/var/www/horde/framework/Date/lib/Horde/Date.php"]
2011-03-09T10:31:05+02:00 DEBUG: 1. Horde_Rpc_Syncml->getResponse()
/var/www/horde/horde/rpc.php:127
2. Horde_SyncMl_ContentHandler->process()
/var/www/horde/framework/Rpc/lib/Horde/Rpc/Syncml.php:52
3. Horde_Xml_Wbxml_Decoder->decode()
/var/www/horde/framework/SyncMl/lib/Horde/SyncMl/ContentHandler.php:153
4. Horde_Xml_Wbxml_Decoder->_decode()
/var/www/horde/framework/Xml_Wbxml/lib/Horde/Xml/Wbxml/Decoder.php:180
5. Horde_Xml_Wbxml_Decoder->parseTag()
/var/www/horde/framework/Xml_Wbxml/lib/Horde/Xml/Wbxml/Decoder.php:424
6. Horde_SyncMl_ContentHandler->endElement()
/var/www/horde/framework/Xml_Wbxml/lib/Horde/Xml/Wbxml/Decoder.php:452
7. Horde_SyncMl_ContentHandler->handleCommand()
/var/www/horde/framework/SyncMl/lib/Horde/SyncMl/ContentHandler.php:303
8. Horde_SyncMl_Command_Final->handleCommand()
/var/www/horde/framework/SyncMl/lib/Horde/SyncMl/ContentHandler.php:433
9. Horde_SyncMl_State->handleFinal()
/var/www/horde/framework/SyncMl/lib/Horde/SyncMl/Command/Final.php:45
10. Horde_SyncMl_Sync->handleFinal()
/var/www/horde/framework/SyncMl/lib/Horde/SyncMl/State.php:399
11. Horde_SyncMl_Sync->createSyncOutput()
/var/www/horde/framework/SyncMl/lib/Horde/SyncMl/Sync.php:641
12. Horde_SyncMl_Device_Nokia->convertServer2Client()
/var/www/horde/framework/SyncMl/lib/Horde/SyncMl/Sync.php:490
13. Horde_SyncMl_Device->convertServer2Client()
/var/www/horde/framework/SyncMl/lib/Horde/SyncMl/Device/Nokia.php:68
14. preg_replace_callback()
/var/www/horde/framework/SyncMl/lib/Horde/SyncMl/Device.php:208
15. Horde_SyncMl_Device->convertUTC2LocalTime()
16. Horde_Date->__construct()
/var/www/horde/framework/SyncMl/lib/Horde/SyncMl/Device.php:278
17. Horde_Date->_initializeFromArray()
/var/www/horde/framework/Date/lib/Horde/Date.php:218
18. Horde_Date->__set() /var/www/horde/framework/Date/lib/Horde/Date.php:1034
The other error messages are related to configuration issues.
is working with nag and turba. Just kronolith breaks. With funambol
all syncs are working. So my guess this issue is related only to Nokia
sync.
State ⇒ Feedback
Assigned to Jan Schneider
broken address book configuration, or the driver name is not correctly
passed to the driver factory.
Check the value of the $name variable in turba/lib/Factory/Driver.php
create().
I don't see how that exception from Horde_Date can happen at all. The
code that calls __set() with the invalid property name explicitly only
allows a set of valid property names. And "0" is none of those.
Bug #9646: listTasks() takes an array.1 files changed, 1 insertions(+), 1 deletions(-)
http://git.horde.org/horde-git/-/commit/44f2734b37da467e4eb2bb3bc85047d9896d7d6b
Priority ⇒ 1. Low
State ⇒ Unconfirmed
New Attachment: syncml-bt.txt
Patch ⇒ No
Milestone ⇒
Queue ⇒ Synchronization
Summary ⇒ SyncML failure with Nokia N8
Type ⇒ Bug