Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Calendar - events dropped when there are multiple overlapping events #7803

Closed
sbulen opened this issue Jul 22, 2023 · 8 comments · Fixed by #7820
Closed

Calendar - events dropped when there are multiple overlapping events #7803

sbulen opened this issue Jul 22, 2023 · 8 comments · Fixed by #7820
Assignees
Labels
Milestone

Comments

@sbulen
Copy link
Contributor

sbulen commented Jul 22, 2023

Description

Odd one from the forum... But it can be verified. If you have multiple overlapping events, then the various date range views seem to inexplicably drop some of the events.

Any event on its own is displayed perfectly, no matter what the view. But as soon as there are multiple, some may get dropped.

Steps to reproduce

  1. Forum & user timezone to EDT
  2. Add an all-day event, for 3 days, from Aug 3 - Aug 5
  3. Add an all-day event, on Aug 5.
  4. Choose list view, Aug 3 - Aug 10, both events show properly for Aug 5
  5. Choose list view, Aug 5 - Aug 12, only the 3 day event is shown. The Aug 5 event is dropped from the list...

There are similar variations in month view, week view, etc.

Environment (complete as necessary)

  • Version/Git revision: 2.1.4
  • Database Type: mysql
  • Database Version: 8.0
  • PHP Version: 8.2

Additional information/references

From the forum: https://www.simplemachines.org/community/index.php?topic=586490.0

@indyrcpilot
Copy link

Is there any kind of workaround for this issue?

Thanks...
Chuck

@Sesquipedalian
Copy link
Member

Not yet. Someone has to take the time to figure out the cause and how to fix it. So far, @sbulen has figured out enough to be able to describe how we can consistently reproduce the problem. Next we have to figure out why it happens. Then we can figure out how to solve it.

As our investigation proceeds, you will see activity about it posted here.

@indyrcpilot
Copy link

Thanks for the response.
Could I revert back to a previous version until this is resolved, or would that cause other issues?
Thanks...
Chuck

@Sesquipedalian
Copy link
Member

I believe all versions of 2.1 are affected, and downgrading to 2.0 is not possible.

@indyrcpilot
Copy link

indyrcpilot commented Jul 27, 2023 via email

@Sesquipedalian Sesquipedalian self-assigned this Aug 3, 2023
Sesquipedalian added a commit to Sesquipedalian/SMF that referenced this issue Aug 4, 2023
@Sesquipedalian
Copy link
Member

Sesquipedalian commented Aug 4, 2023

@indyrcpilot, please test the changes in #7820 and let us know if they solve the issue for you.

Since only one line of code is changed, you can just change that line manually in your installed copy of the Subs-Calendar.php file to test it.

@Sesquipedalian Sesquipedalian added this to the 2.1.5 milestone Aug 4, 2023
@indyrcpilot
Copy link

indyrcpilot commented Aug 5, 2023 via email

@Sesquipedalian
Copy link
Member

Excellent

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants