Scheduling Assistant
  1. Scheduling Assistant
  2. SA-37

CaldavIntegrationTest testGroupAppointmentWorkflow fails against Bedework 3.8.0.1 quickstart

    Details

      Description

      CaldavIntegrationTest#testGroupAppointmentWorkflow fails when configured to integrate with an unmodified Bedework 3.8.0.1 instance.

      The assertion on line 244 that verifies the PARTSTAT parameter for all attendees fails; expects ACCEPTED, is NEEDS-ACTION.

      It appears from debugging that the event returned from Bedework after adding the 2nd Schedule Visitor to a group appointment causes the PARTSTAT parameter to be changed to NEEDS-ACTION for all attendees. The desired behavior is to retain the ACCEPTED value supplied by the Scheduling Assistant.

      Event after first schedule visitor joins the group appointment (correct):
      BEGIN:VEVENT
      ATTENDEE;CN="Twain, Mark";PARTSTAT=ACCEPTED;CUTYPE=INDIVIDUAL;ROLE=CHAIR;X-UW-AVAILABLE-APPOINTMENT-ROLE=OWNER:mtwain@mysite.edu
      ATTENDEE;CN="Galilei, Galileo";PARTSTAT=ACCEPTED;SCHEDULE-STATUS=1.2;CUTYPE=INDIVIDUAL;ROLE=REQ-PARTICIPANT;X-UW-AVAILABLE-APPOINTMENT-ROLE=VISITOR:ggalilei@mysite.edu
      CLASS:PRIVATE
      CREATED:20111207T023652Z
      DTEND:20111207T043600Z
      DTSTAMP:20111207T023652Z
      DTSTART:20111207T033600Z
      LAST-MODIFIED:20111207T023652Z
      LOCATION;X-BEDEWORK-UID=ff808081-34119d0f-0134-119e9e70-00000022:meeting room 1b
      ORGANIZER;CN="Twain, Mark":mtwain@mysite.edu
      STATUS:CONFIRMED
      SUMMARY:group appointment
      UID:5135cf20-0be5-4856-94f0-b809e2ade550
      X-UW-AVAILABLE-APPOINTMENT:TRUE
      X-UW-AVAILABLE-VERSION:1.2
      X-UW-AVAILABLE-VISITOR-LIMIT:2
      X-BEDEWORK-SUBMITTEDBY:mtwain
      X-BEDEWORK-SCHED-ASSIST:true
      END:VEVENT

      Event after 2nd visitor joins the group appointment:
      BEGIN:VEVENT
      ATTENDEE;CN="Twain, Mark";PARTSTAT=ACCEPTED;CUTYPE=INDIVIDUAL;ROLE=CHAIR;X-UW-AVAILABLE-APPOINTMENT-ROLE=OWNER:mtwain@mysite.edu
      ATTENDEE;RSVP=TRUE;CN="Galilei, Galileo";PARTSTAT=NEEDS-ACTION;SCHEDULE-STATUS=1.2;CUTYPE=INDIVIDUAL;ROLE=REQ-PARTICIPANT;X-UW-AVAILABLE-APPOINTMENT-ROLE=VISITOR:ggalilei@mysite.edu
      ATTENDEE;RSVP=TRUE;CN="Franklin, Benjamin";PARTSTAT=NEEDS-ACTION;SCHEDULE-STATUS=1.2;CUTYPE=INDIVIDUAL;ROLE=REQ-PARTICIPANT;X-UW-AVAILABLE-APPOINTMENT-ROLE=VISITOR:bfranklin@mysite.edu
      CLASS:PRIVATE
      CREATED:20111207T023652Z
      DTEND:20111207T043600Z
      DTSTAMP:20111207T023652Z
      DTSTART:20111207T033600Z
      LAST-MODIFIED:20111207T023652Z
      LOCATION;X-BEDEWORK-UID=ff808081-34119d0f-0134-119e9e70-00000022:meeting room 1b
      ORGANIZER;CN="Twain, Mark":mtwain@mysite.edu
      STATUS:CONFIRMED
      SUMMARY:group appointment
      UID:5135cf20-0be5-4856-94f0-b809e2ade550
      X-UW-AVAILABLE-APPOINTMENT:TRUE
      X-UW-AVAILABLE-VERSION:1.2
      X-UW-AVAILABLE-VISITOR-LIMIT:2
      X-BEDEWORK-SUBMITTEDBY:mtwain
      X-BEDEWORK-SCHED-ASSIST:true
      X-BEDEWORK-SCHED-ASSIST:true
      END:VEVENT

      Additionally it appears Bedework has added a 2nd instance of it's X-BEDEWORK-SCHED-ASSIST property.

        Activity

        Hide
        Nicholas Blair added a comment -

        For clarity, the Scheduling Assistant attempts to add the following property to the first example when Ben Franklin attempts to join:

        ATTENDEE;RSVP=FALSE;CN="Franklin, Benjamin";PARTSTAT=ACCEPTED;CUTYPE=INDIVIDUAL;ROLE=REQ-PARTICIPANT;X-UW-AVAILABLE-APPOINTMENT-ROLE=VISITOR:bfranklin@mysite.edu

        It looks like Bedework is also setting RSVP=TRUE in addition to changing the PARTSTAT parameter.

        Show
        Nicholas Blair added a comment - For clarity, the Scheduling Assistant attempts to add the following property to the first example when Ben Franklin attempts to join: ATTENDEE;RSVP=FALSE;CN="Franklin, Benjamin";PARTSTAT=ACCEPTED;CUTYPE=INDIVIDUAL;ROLE=REQ-PARTICIPANT;X-UW-AVAILABLE-APPOINTMENT-ROLE=VISITOR:bfranklin@mysite.edu It looks like Bedework is also setting RSVP=TRUE in addition to changing the PARTSTAT parameter.

          People

          • Assignee:
            Nicholas Blair
            Reporter:
            Nicholas Blair
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated: