View Issue Details

IDProjectCategoryView StatusLast Update
0003595SOGoBackend Address Bookpublic2016-03-23 13:21
Reporterm_emelchenkov Assigned To 
PrioritynormalSeverityminorReproducibilityalways
Status newResolutionopen 
Platform[Server] LinuxOSUbuntuOS Version14.04 LTS
Product Versionnightly v2 
Summary0003595: Error in logs of Mac's Contacts.app: can't set own card
Description

In Contacts.app on mac there is an option to set chosen contact as own contact (menu Card - Make This My Card). Doing that showing error in logs:

22/03/16 22:19:31,462 Contacts[738]: [CardDAVPlugin-ERROR] Update of Me card on server failed with error: Error Domain=CoreDAVHTTPStatusErrorDomain Code=403 "(null)" UserInfo={CoreDAVHTTPHeaders=<CFBasicHash 0x7fa31f967440 [0x7fff7b1ee440]>{type = immutable dict, count = 6,
entries =>
0 : Content-Encoding = gzip
1 : Transfer-Encoding = <CFString 0x7fff7af4feb8 [0x7fff7b1ee440]>{contents = "Identity"}
3 : Content-Type = <CFString 0x7fa31fa3bde0 [0x7fff7b1ee440]>{contents = "text/html; charset="iso-8859-1""}
4 : Connection = <CFString 0x7fff7b147ea0 [0x7fff7b1ee440]>{contents = "keep-alive"}
5 : Server = <CFString 0x7fa31fa328f0 [0x7fff7b1ee440]>{contents = "nginx/1.4.6 (Ubuntu)"}
6 : Date = <CFString 0x7fa31fa3c870 [0x7fff7b1ee440]>{contents = "Tue, 22 Mar 2016 19:19:31 GMT"}
}
}

Steps To Reproduce
  1. Open Contacts.app on Mac El Capitan.
  2. Choose own card and mark it from menu Card - Make This My Card.
TagsNo tags attached.

Activities

Christian Mack

Christian Mack

2016-03-23 10:36

developer   ~0009806

The provided error message states, that you do not have the privileges necessary to change that information, as it comes from an immutable dictionary.

I think it tries to change your identity information from your SOGoUserSource.
Per default nobody has write privileges for those (and I think that is sensible).

What exactly do you want to achieve with that anyway?

m_emelchenkov

m_emelchenkov

2016-03-23 10:39

reporter   ~0009807

I think it tries to change your identity information from your SOGoUserSource.

I do not know what is SOGoUserSource, sorry.

Per default nobody has write privileges for those (and I think that is sensible).

It works with iCloud, for example. That's the way how Apple Contacts works.

What exactly do you want to achieve with that anyway?

Stop polluting my logs with errors. I suppose it may have some hidden influence to different parts of OS because it can't update own ID. This happens every time I start Contacts.app, it tries to write this info every time.

Christian Mack

Christian Mack

2016-03-23 11:06

developer   ~0009808

SOGoUserSource is a SOGo server configuration option defining where to find valid users.
Those are either LDAP or ActiveDirectory or Database sources containing usernames, passwords and email addresses etc. for valid users of this server.

Sure it works with iCloud, as Apple invented that "feature".
But I do not know of any other address book provider doing so.
And I do not know what benefit it shall provide.

If you just do not like those error messages, you should contact Apple to handle them correctly, as "access denied" are absolutely valid responses.

m_emelchenkov

m_emelchenkov

2016-03-23 11:09

reporter   ~0009809

Thanks for info. I will send a link to this bugreport to Apple because anyway I don't know how it works internally. Anyway, Contacts.app have much bigger problems right now, which is still unfixed, maybe they will fix this problem too or will say something useful.

m_emelchenkov

m_emelchenkov

2016-03-23 11:13

reporter   ~0009810

Radar ID 25312244

(Radar is an internal Apple Bugreporting System, it's impossible to view it, just number for note).

ludovic

ludovic

2016-03-23 13:17

administrator   ~0009812

The application does the following PROPATCH:

PROPPATCH /SOGo/dav/sogo3/Contacts/ ...

<?xml version="1.0" encoding="UTF-8"?>
<A:propertyupdate xmlns:A="DAV:"><A:set><A:prop><C:me-card xmlns:C="http://calendarserver.org/ns/&quot;>&lt;A:href>/SOGo/dav/sogo3/Contacts/personal/3ABC-56F29500-1-444FF88.vcf&lt;/A:href>&lt;/C:me-card>&lt;/A:prop>&lt;/A:set>&lt;/A:propertyupdate>

We don't support that property - thus we return a 403.

m_emelchenkov

m_emelchenkov

2016-03-23 13:19

reporter   ~0009813

We don't support that property - thus we return a 403.

Do you have any plans to add its support?

ludovic

ludovic

2016-03-23 13:21

administrator   ~0009814

Not anytime soon.

m_emelchenkov

m_emelchenkov

2016-03-23 13:21

reporter   ~0009815

Not anytime soon.

OK, thanks for info!

Issue History

Date Modified Username Field Change
2016-03-22 19:24 m_emelchenkov New Issue
2016-03-23 10:36 Christian Mack Note Added: 0009806
2016-03-23 10:39 m_emelchenkov Note Added: 0009807
2016-03-23 11:06 Christian Mack Note Added: 0009808
2016-03-23 11:09 m_emelchenkov Note Added: 0009809
2016-03-23 11:13 m_emelchenkov Note Added: 0009810
2016-03-23 13:17 ludovic Note Added: 0009812
2016-03-23 13:19 m_emelchenkov Note Added: 0009813
2016-03-23 13:21 ludovic Note Added: 0009814
2016-03-23 13:21 m_emelchenkov Note Added: 0009815