You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
synchronizing the contacts from SOGo does not work fully. There are only 23 contacts available in rouncube without any error or special log entry. At SOGo I get about 150-200 contacts or so. The 23 available contacts seem to be random. What can I do to find where (and why) this fails? Is there a way for debugging CardDAV plugin in a special way?
Thanks!
The text was updated successfully, but these errors were encountered:
Ok, did it myself. I digged a litte in the php code and found the problem: SOGo seems to not provide every vcard as a .vcf link. So the query to the server fails with an empty response. Problem is located at carddav_backend.php at method get_vcard():
public function get_vcard($vcard_id)
{
$vcard_id = str_replace('.vcf', null, $vcard_id);
$response = $this->query($this->url . $vcard_id . '.vcf', 'GET');
return $response;
}
A workaround will be:
public function get_vcard($vcard_id)
{
$vcard_id = str_replace('.vcf', null, $vcard_id);
$response = $this->query($this->url . $vcard_id . '.vcf', 'GET');
if (empty($response)) {
$response = $this->query($this->url . $vcard_id, 'GET');
}
return $response;
}
So we simply have to try a second time without .vcf to get the vcard. This is not a real solution, because we should really try to avoid double requests, but works for now...
Hi,
synchronizing the contacts from SOGo does not work fully. There are only 23 contacts available in rouncube without any error or special log entry. At SOGo I get about 150-200 contacts or so. The 23 available contacts seem to be random. What can I do to find where (and why) this fails? Is there a way for debugging CardDAV plugin in a special way?
Thanks!
The text was updated successfully, but these errors were encountered: