View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 0003728 | SOGo | Backend Calendar | public | 2016-06-14 11:29 | 2016-06-14 12:40 |
| Reporter | rsander | Assigned To | ludovic | ||
| Priority | high | Severity | minor | Reproducibility | always |
| Status | closed | Resolution | fixed | ||
| Platform | [Server] Linux | OS | Debian | OS Version | 8 (Jessie) |
| Product Version | 3.1.2 | ||||
| Fixed in Version | 3.1.3 | ||||
| Summary | 0003728: Exception when trying to add resource to appointment | ||||
| Description | We added resources to the LDAP server following the docs at When trying to add one of these resources to an appointment "Proxy In /var/log/sogo/sogo.log an EXCEPTION is reported: | EXCEPTION: <NSException: 0x7f69a2a49070> NAME:NSInvalidArgumentException REASON:Can not determine type information for -[GSArrayEnumerator copyWithZone:] INFO:(null) | ||||
| Steps To Reproduce |
=> Browser shows "Proxy Error". | ||||
| Tags | No tags attached. | ||||
|
Provide the complete LDIF entry for your resource, as well as your sogo.conf file. We do have integration tests going over this part of the code before all releases and nightly builds. |
|
|
konf2.ldif (836 bytes)
# LDIF Export for uid=konf2,ou=accounts,dc=example,dc=com
# Server: LDAP Server (services) (127.0.0.1)
# Suchbereich: base
# Suchfilter: (objectClass=*)
# Anzahl der Eintraege: 1
#
# Generated by phpLDAPadmin (http://phpldapadmin.sourceforge.net) on June 14, 2016 11:33 am
# Version: 1.2.2
version: 1
# Eintrag 1: uid=konf2,ou=accounts,dc=example,dc=com
dn: uid=konf2,ou=accounts,dc=example,dc=com
cn: Konferenzraum 2. Etage
displayname: Konferenzraum 2. OG
gidnumber: 100
homedirectory: /home/konf2
kind: location
mail: konf2@example.com
multiplebookings: 0
objectclass: inetOrgPerson
objectclass: top
objectclass: CalendarResource
objectclass: calEntry
objectclass: organizationalPerson
objectclass: person
objectclass: posixAccount
sn: Konferenzraum
uid: konf2
uidnumber: 40002
userpassword: {SSHA}Gnho8dtRleNCOx2462SWPfL2at9Pi4wk
|
|
|
Also produce a stack trace: https://sogo.nu/nc/support/faq/article/how-do-i-debug-sogo.html |
|
|
Here is the Backtrace: #0 -[NSException raise] (self=0x555555f80db0, _cmd=0x7ffff58fcfc0 <_OBJC_SELECTOR_TABLE+384>) at NSException.m:960 |
|
|
We need the LDIF entry + sogo.conf. |
|
|
I have already added them as attachment |
|
|
The problem is that the user doesn't have the right to see the resource's freebusy info. You have to modify the ACL of the resource (its personal calendar). The error should be properly returned by SOGo, but there was a dictionary init error in that part of the code. It is now fixed. |
|
|
https://github.com/inverse-inc/sogo/commit/ff65ba88adf6edca44c1df7c14738fde46fd3c08 Also fixed for 2.3.13. |
|
| Date Modified | Username | Field | Change |
|---|---|---|---|
| 2016-06-14 11:29 | rsander | New Issue | |
| 2016-06-14 11:30 | ludovic | Severity | major => minor |
| 2016-06-14 11:31 | ludovic | Note Added: 0010359 | |
| 2016-06-14 11:36 | rsander | File Added: sogo.conf | |
| 2016-06-14 11:37 | rsander | File Added: konf2.ldif | |
| 2016-06-14 11:45 | ludovic | Note Added: 0010360 | |
| 2016-06-14 11:57 | rsander | Note Added: 0010363 | |
| 2016-06-14 12:30 | ludovic | Note Added: 0010364 | |
| 2016-06-14 12:32 | rsander | Note Added: 0010365 | |
| 2016-06-14 12:40 | ludovic | Note Added: 0010366 | |
| 2016-06-14 12:40 | ludovic | Note Added: 0010367 | |
| 2016-06-14 12:40 | ludovic | Status | new => closed |
| 2016-06-14 12:40 | ludovic | Assigned To | => ludovic |
| 2016-06-14 12:40 | ludovic | Resolution | open => fixed |
| 2016-06-14 12:40 | ludovic | Fixed in Version | => 3.1.3 |