View Issue Details

IDProjectCategoryView StatusLast Update
0002751SOGo Connectorwith external serverpublic2017-10-05 12:09
Reporterarcher2000 Assigned Toludovic  
PriorityhighSeverityminorReproducibilityalways
Status assignedResolutionopen 
Platform[Server] LinuxOSUbuntuOS Version12.04 LTS
Product Version24.0.4 
Summary0002751: Read-only mode does not work
Description

I want to use the SOGo-Connector in read-only mode. As soon I add the CardDAV URL, nothing is happening. I even can't click on syncronize. If I add the same URL in rw-mode, the contacts are downloaded.

Further discussion: https://forum.owncloud.org/viewtopic.php?f=26&t=20875

Steps To Reproduce

(1) Start Thrunderbrid with a new profile
(2) Install SOGo-Connector 24.0.4
(3) Add a new remote addressbook; i.e. with the URL http://demo.owncloud.org/remote.php/carddav/addressbooks/test/contacts
(4) Select "read-only"
(5) Click OK

You will never be asked for a username/password. You can't right click on "synchronize".

Additional Information

n/a

Tagsaddressbook, CardDAV, sogo

Relationships

has duplicate 0002929 resolvedludovic Cannot sync addressbook when read-only 

Activities

Christian Mack

Christian Mack

2014-05-22 15:01

developer   ~0007072

Does searching in this addressbook work?

archer2000

archer2000

2014-05-22 16:08

reporter   ~0007073

I wonder how this should work. I do not have any contacts in my adressbook, because the contacts were never synced.
Anyway I just tried that: nothing is happening.

Christian Mack

Christian Mack

2014-05-23 07:26

developer   ~0007086

I asked, because the only addressbooks we use the read only flag on, are the global addressbooks from SOGo.
The global addressbooks can not be downloaded!
But you can search in them.
They are shown in Thunderbird with a globe and lock instead of an addressbook symbol.

But this applies to SOGo as backend.
I don't know if owncloud supports searching via CardDAV at all.

olimination

olimination

2014-08-03 20:56

reporter   ~0007380

I can reproduce the issue also with the latest Connector version 24.0.6.

My setup:

  • Win7
  • Thunderbird 31.0
  • Sogo Connector 24.0.6
  • OwnCloud Server 7.0.0
VanHofCogIac

VanHofCogIac

2014-09-25 15:12

reporter   ~0007547

Last edited: 2014-09-25 15:41

I have the same problem, and from a long time ago yet (always, as far as I can remember !?). Didn't had time to search for a solution...

My configuration is slightly different :
-Linux (LMDE, Ubuntu XX.XX, debian...) and Windows (XP, 7) clients;
-Thunderbird (up to 31.0);
-Sogo Connector (up to 24.0.6);
-eGroupware server (up to 1.8.006) with Groupdav module installed.

Tested and reproduced on many different servers and clients.

If I choose "read only" at setup, nothing is imported. The address book is shown with a globe icon as described by archer2000.

'prefs.js' is very different for read-only and read-write addressbooks :

// READ-WRITE ENTRIES
user_pref("extensions.ca.inverse.addressbook.groupdav.TESTReadWrite_MailList3.key", "C6513F32-5450-0001-477A-C68085218260.vlf");
user_pref("extensions.ca.inverse.addressbook.groupdav.TESTReadWrite_MailList3.version", "\"7397:1\"");
user_pref("extensions.ca.inverse.addressbook.groupdav.ldap_2.servers.TESTReadWrite.ctag", "1411649747");
user_pref("extensions.ca.inverse.addressbook.groupdav.ldap_2.servers.TESTReadWrite.notifications", "true");
user_pref("extensions.ca.inverse.addressbook.groupdav.ldap_2.servers.TESTReadWrite.notificationsManual", "true");
user_pref("extensions.ca.inverse.addressbook.groupdav.ldap_2.servers.TESTReadWrite.notificationsNotEmpty", "true");
user_pref("extensions.ca.inverse.addressbook.groupdav.ldap_2.servers.TESTReadWrite.notificationsSave", "false");
user_pref("extensions.ca.inverse.addressbook.groupdav.ldap_2.servers.TESTReadWrite.notificationsStart", "true");
user_pref("extensions.ca.inverse.addressbook.groupdav.ldap_2.servers.TESTReadWrite.periodicSync", "true");
user_pref("extensions.ca.inverse.addressbook.groupdav.ldap_2.servers.TESTReadWrite.periodicSyncInterval", "120");
user_pref("extensions.ca.inverse.addressbook.groupdav.ldap_2.servers.TESTReadWrite.url", "http://www.myserver.tld/egroupware/groupdav.php/Group1/addressbook");
user_pref("ldap_2.servers.TESTReadWrite.description", "read-write");
user_pref("ldap_2.servers.TESTReadWrite.dirType", 2);
user_pref("ldap_2.servers.TESTReadWrite.filename", "abook-1.mab");

// READ-ONLY ENTRIES
user_pref("ldap_2.servers.TESTReadOnly.description", "read-only");
user_pref("ldap_2.servers.TESTReadOnly.filename", "ldap.mab");
user_pref("ldap_2.servers.TESTReadOnly.uri", "carddav://www.myserver.tld/egroupware/groupdav.php/Group2/addressbook/");

//
user_pref("pref.ldap.disable_button.edit_directories", false);

Thunderbird give some messages :

1-At TB opening and before opening the addressbook (not sure everything is sogo related...):

(process:12334): GLib-CRITICAL **: g_slice_set_config: assertion `sys_page_size == 0' failed

(process:12334): GLib-CRITICAL **: g_slice_set_config: assertion `sys_page_size == 0' failed
[calBackendLoader] Using libical backend at /home/me/.thunderbird/my.profile/extensions/{e2fda1a4-762b-4020-b5ad-a41df1933103}/components/libical.manifest
Warning: Use of getPrefSafe() is deprecated and will be removed with the next release. Use Preferences.get() instead.
1: [chrome://calendar/content/calUtils.js:465] getPrefSafe
2: [chrome://calendaryearview/content/calendar-year-view.xml:557] calendar-year-base-view_XBL_Constructor
3: [null:0] null

CardDAVDirectoryFactory.js: getDirectories
aDirName: TESTReadOnly
aURI: carddav://www.myserver.tld/egroupware/groupdav.php/Group2/addressbook/
aPrefId: ldap_2.servers.TESTReadOnly


2-When opening the addressbook :

CardDAVDirectory.js: NO INTERFACE: {744072be-1ba0-46bc-af24-46e22567a2ea}
CardDAVDirectory.js: NO INTERFACE: {90dde295-e354-4d58-add8-f9b29a95942d}
CardDAVDirectory.js: NO INTERFACE: {744072be-1ba0-46bc-af24-46e22567a2ea}
CardDAVDirectory.js: NO INTERFACE: {90dde295-e354-4d58-add8-f9b29a95942d}
CardDAVDirectory.js: NO INTERFACE: {744072be-1ba0-46bc-af24-46e22567a2ea}
CardDAVDirectory.js: NO INTERFACE: {90dde295-e354-4d58-add8-f9b29a95942d}

I don't have traces of 744072... nor 90dde... in prefs.js (and I didn't search in other files)

Cheers.

P.S. : Note that you can't change read-only mode after setup.

Olli

Olli

2015-05-09 11:33

reporter   ~0008457

I want to use a read-only addressbook from ownCloud in Thunderbird and have the same issues reported here.

Tested on Windows 7 with:
Thunderbird 31.6.0
SoGo Connector 31.0.1
ownCloud 7.0.4

Duplicate 2929 seems not to have solved this problem.

Are there any plans to work on this issue?
Are there any workarounds to make read-only addressbooks available?
Can I support with additional infos?

szemy

szemy

2015-05-13 12:56

reporter   ~0008486

Last edited: 2015-05-13 12:57

Same issue here with own server (Ubuntu 14.04.2 Radicale), both Win and Ubuntu clients.
Read only does not sync on client - 0 addresses in addressbook.

cweiske

cweiske

2015-10-27 10:41

reporter   ~0009062

Still happens with Sogo connector 31.0.1, Thunderbird 38.3.0 and ownCloud 8.1.3

puttext

puttext

2016-11-21 11:38

reporter   ~0010895

Hello.
There's a plan to solve this issue?
THanks

J.ED.

J.ED.

2017-10-05 12:09

reporter   ~0012355

I've just tested the Inverse SOGo Connector 31.0.5 with Thunderbird 52.3.0 against a Nextcloud 12.0.3 server and the problem still persists. Read-only address books are still not synchronized.

Issue History

Date Modified Username Field Change
2014-05-05 14:07 archer2000 New Issue
2014-05-22 15:01 Christian Mack Note Added: 0007072
2014-05-22 16:08 archer2000 Note Added: 0007073
2014-05-23 07:26 Christian Mack Note Added: 0007086
2014-08-03 20:56 olimination Note Added: 0007380
2014-09-25 15:12 VanHofCogIac Note Added: 0007547
2014-09-25 15:13 VanHofCogIac Note Edited: 0007547
2014-09-25 15:15 VanHofCogIac Note Edited: 0007547
2014-09-25 15:18 VanHofCogIac Note Edited: 0007547
2014-09-25 15:26 VanHofCogIac Note Edited: 0007547
2014-09-25 15:41 VanHofCogIac Note Edited: 0007547
2014-09-25 15:44 VanHofCogIac Tag Attached: addressbook
2014-09-25 15:44 VanHofCogIac Tag Attached: CardDAV
2014-09-25 15:44 VanHofCogIac Tag Attached: sogo
2014-09-25 17:48 ludovic Relationship added has duplicate 0002929
2015-05-09 11:33 Olli Note Added: 0008457
2015-05-13 12:56 szemy Note Added: 0008486
2015-05-13 12:57 szemy Note Edited: 0008486
2015-05-13 12:57 szemy Note Edited: 0008486
2015-10-27 10:41 cweiske Note Added: 0009062
2016-07-12 12:05 ludovic Status new => assigned
2016-07-12 12:05 ludovic Assigned To => ludovic
2016-11-21 11:38 puttext Note Added: 0010895
2017-10-05 12:09 J.ED. Note Added: 0012355