[Tickets #8627] Turba export doesn't work with (big) image

bugs at horde.org bugs at horde.org
Wed Oct 7 07:16:07 UTC 2009


DO NOT REPLY TO THIS MESSAGE. THIS EMAIL ADDRESS IS NOT MONITORED.

Ticket URL: http://bugs.horde.org/ticket/8627
------------------------------------------------------------------------------
  Ticket             | 8627
  Created By         | ryu at ryux.org
  Summary            | Turba export doesn't work with (big) image
  Queue              | Turba
  Version            | 2.3.2
  Type               | Bug
  State              | Unconfirmed
  Priority           | 2. Medium
  Milestone          |
  Patch              |
  Owners             |
------------------------------------------------------------------------------


ryu at ryux.org (2009-10-07 03:16) wrote:

Turba export is very very long when a photo is added to contact (132  
Ko for example) and it finish by :

Oct 07 08:51:18 HORDE [debug] [horde] Sending replace from server:  
20091007082330.381433t87qr4a12a at mail.example.com [pid 18652 on line  
577 of "/data/internet/mail.example.com/_www.1.2.4/lib/SyncML/Sync.php"]
Oct 07 08:51:18 HORDE [debug] [horde] Maximum message size 20000  
approached during replace; current size: 497 [pid 18652 on line 586 of  
"/data/internet/mail.example.com/_www.1.2.4/lib/SyncML/Sync.php"]
Oct 07 08:51:18 HORDE [warning] [horde] Data item won't fit into a  
single message. Partial sending not implemented yet. Item will not be  
sent! [pid 18652 on line 590 of  
"/data/internet/mail.example.com/_www.1.2.4/lib/SyncML/Sync.php"]

When we look a bit more, we find that the method String::wordwrap is  
very long (> 15 minutes for me) to explode photo, causing a timeout to  
sync process with a mobile... This function is called in  
iCalendar::_exportvData()

To sum up how to reproduce :

- add a photo with important size (130 ko)
- sync mobile

result : 2 ways
1. timeout (after 10 min) and stop (with slow sync on next sync) (with Edge)
2. no timeout (15 min) but problem on transfer (with WiFi)

I m ready to create a fix this bug, but I need help on what to do...

Thanks






More information about the bugs mailing list