View Issue Details

IDProjectCategoryView StatusLast Update
0003895SOGo Connectorwith external serverpublic2018-03-16 18:41
ReporterpbSogo Assigned Toludovic  
PrioritylowSeverityminorReproducibilityalways
Status closedResolutionfixed 
PlatformLinuxOSFedoraOS Version24
Product Version31.0.3 
Summary0003895: connector will also treat local address books as candidates for remote servers
Description

during startup, every time the connector will also check local addressbooks for existence of a remote URL.

Steps To Reproduce

have local address books
start thunderbird

startup from sogo-connector
exception getting pref 'extensions.ca.inverse.addressbook.groupdav.ldap_2.servers.Local.url':
[Exception... "Component returned failure code: 0x8000ffff (NS_ERROR_UNEXPECTED) [nsIPrefBranch.getCharPref]" nsresult: "0x8000ffff (NS_ERROR_UNEXPECTED)" location: "JS frame :: chrome://sogo-connector/content/general/preference.service.addressbook.groupdav.js :: GdPSvc__getPref :: line 126" data: no] (126)

exception getting pref 'extensions.ca.inverse.addressbook.groupdav.ldap_2.servers.pab.url':
[Exception... "Component returned failure code: 0x8000ffff (NS_ERROR_UNEXPECTED) [nsIPrefBranch.getCharPref]" nsresult: "0x8000ffff (NS_ERROR_UNEXPECTED)" location: "JS frame :: chrome://sogo-connector/content/general/preference.service.addressbook.groupdav.js :: GdPSvc__getPref :: line 126" data: no] (126)

exception getting pref
'extensions.ca.inverse.addressbook.groupdav.ldap_2.servers.history.url':
[Exception... "Component returned failure code: 0x8000ffff (NS_ERROR_UNEXPECTED) [nsIPrefBranch.getCharPref]" nsresult: "0x8000ffff (NS_ERROR_UNEXPECTED)" location: "JS frame :: chrome://sogo-connector/content/general/preference.service.addressbook.groupdav.js :: GdPSvc__getPref :: line 126" data: no] (126)

Additional Information

connector should skip local address books silently

TagsNo tags attached.

Activities

pbSogo

pbSogo

2016-11-16 06:46

reporter   ~0010871

After some investigations during https://sogo.nu/bugs/view.php?id=3894 it looks like it's currently not supported by thunderbird to differ between local and remote address books, at least I found no preference difference.

All address books have same dirType and no additional attribute in the ldap_2.servers.* was found pointing to SOGo somehow.

ldap_2.servers.LocalTest.dirType = 2
ldap_2.servers.RemoteTest.dirType = 2

=> I assume SOGo simply has to scan all address books for specific preference

extensions.ca.inverse.addressbook.groupdav.ldap_2.servers.RemoteTest.url

once found, it's "remote" otherwise not treated...

One can discuss whether this should result in a SOGo exception or (better) in a proper log message like

address book "history" is not a remote address book supported by SOGo and mark this SOGo internally with "skip" during runtime to avoid that every click on the local address book will result in next 4 equal exception lines...

ludovic

ludovic

2018-03-16 18:41

administrator   ~0012743

These "errors" can be ignored. They are spewed from an exception handler.

Issue History

Date Modified Username Field Change
2016-11-13 08:18 pbSogo New Issue
2016-11-16 06:46 pbSogo Note Added: 0010871
2018-03-16 18:41 ludovic Note Added: 0012743
2018-03-16 18:41 ludovic Status new => closed
2018-03-16 18:41 ludovic Assigned To => ludovic
2018-03-16 18:41 ludovic Resolution open => fixed