<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=ISO-8859-1">
</head>
<body text="#000000" bgcolor="#FFFFFF">
Hello,<br>
<br>
We developed a outlook contacts and calendar sync from a
caldav/carddav server.<br>
We are making tests on owncloud. There is no problem with calendar
part.<br>
But we have a problem about update date of the contacts. We create a
vcf file on the client side that contains REV field like the
following<br>
<br>
PRODID:-//ownCloud//NONSGML Contacts 0.2.5//EN<br>
<b>REV:2013-04-29T13:40:53+00:00</b><br>
FN:Yusuf Cemal<br>
N:Cemal;Yusuf;;<br>
...<br>
<br>
When we upload this file to owncloud via DAV. Owncloud does not take
care of this field and inserts own "last change date" to the
database.<br>
This causes continues update for the same contacts on the outlook
side. <br>
Is there any way to disable auto update of last change on the
owncloud side if the REV is defined in VCF file.<br>
<br>
It seems that the problem is at the following lines:<br>
# vi apps/contacts/lib/vcard.php<br>
<br>
/**<br>
* @brief Tries to update imported VCards to adhere to
rfc2426 (VERSION: 3.0) and add mandatory fields if missing.<br>
* @param aid Address book id.<br>
* @param vcard A Sabre\VObject\Component of type VCARD
(passed by reference).<br>
*/<br>
protected static function <b>updateValuesFromAdd</b>($aid,
&$vcard) { // any suggestions for a better method name? ;-)<br>
<br>
<br>
<br>
}<br>
if(self::trueUID($aid, $uid)) {<br>
$vcard->{'UID'} = $uid;<br>
}<br>
<b> $now = new \DateTime;</b><b><br>
</b><b> $vcard->{'REV'} =
$now->format(\DateTime::W3C);</b><br>
}<br>
<br>
<br>
Thanks<br>
<br>
<div class="moz-signature">-- <br>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="content-type">
<title>Signature</title>
<table style="text-align: left; width: 491px; height: 136px;"
border="0" cellpadding="0" cellspacing="0">
<tbody>
<tr>
<td style="vertical-align: top;"><br>
<br>
<div style="text-align: left;"><img style="width: 240px;
height: 63px;" alt="Surgate Logo"
src="cid:part1.02080404.07000501@surgate.com"><br>
</div>
<br>
</td>
<td style="vertical-align: top; text-align: right;"><span
style="font-family: Helvetica,Arial,sans-serif; color:
rgb(56, 103, 153); font-weight: bold;">Ismail YENIGUL</span><br
style="font-family: Helvetica,Arial,sans-serif; color:
rgb(56, 103, 153); font-weight: bold;">
<br style="font-weight: bold;">
<br>
<small style="color: rgb(42, 136, 153);"><span
style="font-family: Helvetica,Arial,sans-serif;">Tel:
+90 533 747 3665</span><br style="font-family:
Helvetica,Arial,sans-serif;">
<span style="font-family: Helvetica,Arial,sans-serif;">Fax:
0216 470 95 08</span><br style="font-family:
Helvetica,Arial,sans-serif;">
<span style="font-family: Helvetica,Arial,sans-serif;"><a class="moz-txt-link-abbreviated" href="mailto:ismail.yenlgul@surgate.com">ismail.yenlgul@surgate.com</a></span><br
style="font-family: Helvetica,Arial,sans-serif;">
<span style="font-family: Helvetica,Arial,sans-serif;"><a class="moz-txt-link-abbreviated" href="http://www.surgatelabs.com">www.surgatelabs.com</a>
<a class="moz-txt-link-abbreviated" href="http://www.srntools.com">www.srntools.com</a></span></small><big><br>
<br>
</big></td>
</tr>
</tbody>
</table>
<br>
<br>
</div>
<br>
<br>
</body>
</html>