SparkDevNetwork / Rock

An open source CMS, Relationship Management System (RMS) and Church Management System (ChMS) all rolled into one.
http://www.rockrms.com
577 stars 348 forks source link

All Attendance Records Showing #5937

Closed BraytonK closed 2 months ago

BraytonK commented 2 months ago

Description

When a user imports their calendar into Outlook (this likely also affects other email client/browser calendars) there is a discrepancy in which calendar events are created. Importing via .ics file will create calendar events for the all of the user's attendance records for all time, while importing from the calendar link will only create events from the current week's and onward attendance records.

Scenario: The user will have records that extend from well before the current week (1 year exactly, in this case) and attendance records for the current week and onward.

Actual Behavior

Copy Calendar Link The user will then attempt to import their calendar via the link provided from the "Copy Calendar Link" button on the Schedule Toolbox, and it will only import the attendance records for the current week and onward.

Add to Calendar The user can then attempt to import their calendar from the .ics file provided from the "Add to Calendar" button on the Schedule Toolbox, and it will import all of their attendance records from all time.

Expected Behavior

Importing from both methods should yield the same results. Ideally the imported attendance records should reflect what the user sees in their schedule toolbox.

Steps to Reproduce

  1. Place person in a group that allows scheduling. image

  2. As an example, schedule Alisha Admin for three attendance occurrences for the current week and at least one attendance occurrence for a year ago. Note: To be able to reproduce the issue, we created an attendance record that occurred 1 year ago, via SQL. image image image

  3. Select "Copy Calendar Link" on the Schedule Toolbox. The calendar events created from the calendar link will encompass only the current week's and onward attendance records. image

  4. Select "Add to Calendar" button on the Schedule Toolbox. The calendar events from the .ics file will encompass the person's attendance records from all time. image image image

Issue Confirmation

Rock Version

v17.0

Client Culture Setting

en-US

chead4 commented 2 months ago

@BraytonK Hi Brayton - Thank you for the detailed write up for this issue. After reviewing, I was unable to recreate the issue on the pre-alpha site. I have set up attendance records set up for Cindy Decker for 1/1/24, 7/9/24 and 7/13/24 and both the 'Add to Calendar' and 'Copy Calendar Link' options create events in my calendar for all three dates.

image image

I'm going to close this issue at this time. If you're able to recreate on the pre-alpha site, please let me know and I'll reopen the issue.