apple / ccs-calendarserver

The Calendar and Contacts Server.
https://www.calendarserver.org
Apache License 2.0
486 stars 136 forks source link

proxies only taking one member #295

Closed macosforgebot closed 14 years ago

macosforgebot commented 14 years ago

guy@… originally submitted this as ticket:368


created a proxies.xml file when multiple entries for some calendars... ie delegated out to several people..eg:

   <record>
        <!-- testaccount -->
        <guid>ed2a576f-e439-4342-8c3c-6e48dbde6752</guid>
        <proxies>
            <member>9dfed9e0-fb0a-4ba3-a80f-be033cf59c2d</member>
            <member>db103f15-ecd6-4f65-8c3a-973c2c79d8fa</member>
            <member>2036a3a5-3b32-4710-9eeb-27caddf29c2f</member>
            <member>92f61292-e3f2-477b-bcd2-7a80f16f9a8d</member>
        </proxies>
    </record>

However only one of these users can see the calendar.

Looking in the proxies.sqlite database I see that only one entry has been made.

# sqlite3 proxies.sqlite 
SQLite version 3.3.6
Enter ".help" for instructions
sqlite> .dump
BEGIN TRANSACTION;
CREATE TABLE CALDAV (KEY text unique, VALUE text unique);
INSERT INTO "CALDAV" VALUES('SCHEMA_VERSION', '4');
INSERT INTO "CALDAV" VALUES('TYPE', 'ProxyDB');
CREATE TABLE GROUPS (GROUPNAME text, MEMBER text);
INSERT INTO "GROUPS" VALUES('ed2a576f-e439-4342-8c3c-6e48dbde6752#calendar-proxy-write', 'db103f15-ecd6-4f65-8c3a-973c2c79d8fa');
CREATE INDEX GROUPNAMES on GROUPS (GROUPNAME);
CREATE INDEX MEMBERS on GROUPS (MEMBER);
COMMIT;
sqlite> 

It also seems a little random as to which entry is taken... End users are still able to delegate out their calendars manually in ical.app without issue.

macosforgebot commented 14 years ago

@wsanchez originally submitted this as comment:1:⁠ticket:368

macosforgebot commented 14 years ago

@wsanchez originally submitted this as comment:2:⁠ticket:368

macosforgebot commented 14 years ago

@m0rgen originally submitted this as comment:3:⁠ticket:368


Should be fixed in trunk rev 5312

macosforgebot commented 14 years ago

guy@… originally submitted this as comment:4:⁠ticket:368


confirmed it's fixed in 5312.

Thanks