Zimbra offers Open Source email server software and shared calendar for Linux and the Mac
Go Back   Zimbra :: Forums > Zimbra Collaboration Suite > Mobility

Welcome to the Zimbra :: Forums!
Welcome, if you would like to post a comment please register. We also encourage you to explore all things Zimbra with our team and members of the community.

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 10-31-2010, 07:06 AM
Starter Member
 
Posts: 3
Default [SOLVED] Z-push Zimbra backend workaround

Hello,

I'm sorry i'm not sure if this is the best place to post this or not or if the backend developers already know about it but I've found a bug and subsequently a fix/workaround for an error within the zimbra z-push backend version 45 when working with PHP5.2.14 (I'm not able to test with other versions) with the zimbra provisioning 47.

When syncing calendar to an iphone ios4 device (again, sorry I haven't got other devices to test with) a soap error occurs:
10/31/10 14:43:23 [8717] ERROR: service.INVALID_REQUEST: <soap:Envelope xmlns:soap="http://www.w3.org/2003/05/soap-envelope"><soap:Header><context xmlns="urn:zimbra"><session id="1945">1945</session><change token="55"/></context></soap:Header><soap:Body><soap:Fault><soap:Code><soa p:Value>soap:Sender</soap:Value></soap:Code><soap:Reason><soap:Text>invalid request: invalid long value '1.285854203E+12' for attribute: calExpandInstStart</soap:Text></soap:Reason><soapetail><Error xmlns="urn:zimbra"><Code>service.INVALID_REQUEST</Code><Trace>com.zimbra.common.service.ServiceExcep tion: invalid request: invalid long value '1.285854203E+12' for attribute: calExpandInstStart
Basically, it is due to the variables $calExpandInstStart and $calExpandInstEnd containing scientific notation values.

The workaround is as follows:
Replace Line 1284 and 1285 with:
$calExpandInstStart = sprintf("%.0f",$cutoffdate * 1000);
$calExpandInstEnd = sprintf("%.0f",(time() + (366*24*60*60))* 1000);

Replace Line 1296 and 1297 with:
$calExpandInstStart = sprintf("%.0f",(time() - (366*24*60*60))* 1000);
$calExpandInstEnd = sprintf("%.0f",(time() + (366*24*60*60))* 1000);

Replace Line 1310 and 1311 with:
$calExpandInstStart = sprintf("%.0f",(time() - (366*24*60*60))* 1000);
$calExpandInstEnd = sprintf("%.0f",(time() + (366*24*60*60))* 1000);

This workaround/patch/fix basically converts scientific notation to an integer. There may be a better work around than this, I'm just sharing what I've found in the hope that somebody else will find it useful.

Thanks
Craig
Reply With Quote
  #2 (permalink)  
Old 11-01-2010, 03:15 AM
Trained Alumni
 
Posts: 336
Default

I believe the best place for these suggestion is :
https://sourceforge.net/projects/zimbrabackend/

file a new support request.
__________________
YetOpen S.r.l. ~ Your open source partner
Lecco (LC) - ITALY
http://www.yetopen.it
Reply With Quote
  #3 (permalink)  
Old 11-01-2010, 03:27 AM
Starter Member
 
Posts: 3
Default

Thanks, have posted the workaround there
Reply With Quote
  #4 (permalink)  
Old 12-06-2010, 11:54 PM
Elite Member
 
Posts: 469
Default

This issue is resolved in Release 46 and later of the backend.

See post http://www.zimbra.com/forums/mobilit...tml#post201214 for details.
Reply With Quote
  #5 (permalink)  
Old 01-19-2012, 02:51 AM
Active Member
 
Posts: 28
Default

Zimbra backend seems much stable in our organization however if we forward mail containing attachments the mail is forwarded but the attachment are not.

Please help
__________________
Zimbra Version 7.1.3_G.A._3346 running on ubuntu 10.04 x64
Reply With Quote
  #6 (permalink)  
Old 01-19-2012, 02:56 AM
Trained Alumni
 
Posts: 336
Default

Quote:
Originally Posted by aarat View Post
Zimbra backend seems much stable in our organization however if we forward mail containing attachments the mail is forwarded but the attachment are not.
this is very likely a problem of the mail client, not of the backend.
if you use Android the stock exchange client in 2.3.x doesn't forward attachments, nor the quoted text.
In ICS (Android 4.0) this is fixed.
__________________
YetOpen S.r.l. ~ Your open source partner
Lecco (LC) - ITALY
http://www.yetopen.it
Reply With Quote
  #7 (permalink)  
Old 01-19-2012, 03:22 AM
Elite Member
 
Posts: 469
Default

Quote:
Originally Posted by aarat View Post
Zimbra backend seems much stable in our organization however if we forward mail containing attachments the mail is forwarded but the attachment are not.

Please help
This is a known limitation. It will be addressed in the next release.

In the meantime, you should be able to save the attachments locally on your phone, then re-attach them manually if you need to forward them urgently.
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads

Why Join?

Registering let's you ask questions, makes it easier to search, displays any files attached to posts, and notifies you about replies.

blog.zimbra.com




 

SEO by vBSEO ©2011, Crawlability, Inc.