CalZapDav usage problem

RuOpka
2014-02-12
2014-02-25
  • RuOpka

    RuOpka - 2014-02-12

    Hi,
    I have downloaded the new 2.12 version, logged in as guest, but I am unable to login to CalZapDav.

    The Homepage->guest->Web Calendar redirects to here:
    http://localhost:8080/opencrx-calendar-CRX/?cal=CRX/Standard

    The network traffic shows that the login returns an arror to the browser:

    Error report
    HTTP Status 404 - /opencrx-caldav-CRX/CRX/Standard/
    The requested resource is not available.

    I have also tried it with diffent url (a quick demo on the calzapdav homepage helped me to guess the urls - combined with connection wizard urls):

    I have logged in here
    http://localhost:8080/opencrx-caldav-CRX/CRX/Standard/home/guest/

    After that I tried:

    1) http://localhost:8080/opencrx-calendar-CRX/?cal=CRX/Standard/home/guest

    <D:multistatus xmlns:A="http://apple.com/ns/ical/" xmlns:CS="http://calendarserver.org/ns/" xmlns:D="DAV:" xmlns:C="urn:ietf:params:xml:ns:caldav"><D:response><D:href>/opencrx-caldav-CRX/CRX/Standard/home/guest/</D:href>
    <D:propstat><D:prop></D:prop>
    <D:status>HTTP/1.1 200 OK</D:status>
    </D:propstat>
    <D:propstat><D:prop><D:current-user-principal/></D:prop>
    <D:status>HTTP/1.1 404 Not Found</D:status>
    </D:propstat>
    </D:response>
    </D:multistatus>
    

    2) http://localhost:8080/opencrx-calendar-CRX/?cal=CRX/Standard/home/guest/

    <D:multistatus xmlns:A="http://apple.com/ns/ical/" xmlns:CS="http://calendarserver.org/ns/" xmlns:D="DAV:" xmlns:C="urn:ietf:params:xml:ns:caldav"><D:response><D:href>/opencrx-caldav-CRX/CRX/Standard/home/guest/</D:href>
    <D:propstat><D:prop></D:prop>
    <D:status>HTTP/1.1 200 OK</D:status>
    </D:propstat>
    <D:propstat><D:prop><D:current-user-principal/></D:prop>
    <D:status>HTTP/1.1 404 Not Found</D:status>
    </D:propstat>
    </D:response>
    </D:multistatus>
    

    3) http://localhost:8080/opencrx-calendar-CRX/?cal=CRX/Standard/home/guest/VTODO

    <D:multistatus xmlns:A="http://apple.com/ns/ical/" xmlns:CS="http://calendarserver.org/ns/" xmlns:D="DAV:" xmlns:C="urn:ietf:params:xml:ns:caldav"><D:response><D:href>/opencrx-caldav-CRX/CRX/Standard/home/guest/VTODO/</D:href>
    <D:propstat><D:prop></D:prop>
    <D:status>HTTP/1.1 200 OK</D:status>
    </D:propstat>
    <D:propstat><D:prop><D:current-user-principal/></D:prop>
    <D:status>HTTP/1.1 404 Not Found</D:status>
    </D:propstat>
    </D:response>
    </D:multistatus>
    

    4) http://localhost:8080/opencrx-calendar-CRX/?cal=CRX/Standard/home/guest/VTODO/

    <D:multistatus xmlns:A="http://apple.com/ns/ical/" xmlns:CS="http://calendarserver.org/ns/" xmlns:D="DAV:" xmlns:C="urn:ietf:params:xml:ns:caldav"><D:response><D:href>/opencrx-caldav-CRX/CRX/Standard/home/guest/VTODO/</D:href>
    <D:propstat><D:prop></D:prop>
    <D:status>HTTP/1.1 200 OK</D:status>
    </D:propstat>
    <D:propstat><D:prop><D:current-user-principal/></D:prop>
    <D:status>HTTP/1.1 404 Not Found</D:status>
    </D:propstat>
    </D:response>
    </D:multistatus>
    

    Any idea why it not working?

    Thanks,
    R

     
  • Werner Froidevaux

    Unfortunately, the user 'guest' does not have a calendar profile so the web calendar does not work for user guest by default. You can create a calendar profile for user guest as follows:

    • Login as guest
    • On the users home select (hidden) tab 'Sync Profiles'
    • Create a new 'Calendar profile' with the name 'CalDAV'
    • Add a new 'Activity Group Feed' to this profile with the following settings:

      Active: yes
      Name: guest~Private
      Allow add / delete: yes
      Allow change: yes
      Activity group: guest~Private

    Next you have to add a dummy event to the calendar as follows:

    • Select the activity group guest~Private'
    • In the grid 'Activity Creators' select the creator 'guest~Private~Meetings'
    • Create a new activity with Actions > New Activity... Enter a name, e.g. 'Dummy Event'

    The web calendar should now open as expected.

    For more information see http://www.opencrx.org/opencrx/2.12/admin/openCRX_admin.html#RefHeading19111_1778772329.

    In the next version of openCRX the UserSettings wizard will create a default calendar profile.

     
    Last edit: Werner Froidevaux 2014-02-13
  • RuOpka

    RuOpka - 2014-02-25

    Thanks for your help. It was not easy task to figure out why calendaring not works - it's easier with help. It works fine now.

     

Log in to post a comment.