Adding an event in any calendar changes my status to On Holiday

AI-generated summary

Adding an event in any calendar changes status to On Holiday: A bug has been reported in the Discourse Calendar plugin. rkda and jrgong have experienced an issue where adding an event to any calendar sets their status to “On Holiday”, despite only one calendar being designated as a holiday calendar.

rkda has shared steps to reproduce the issue, including setting a holiday calendar topic ID and creating a second calendar topic. JammyDodger has attempted to replicate the issue and confirmed it exists.

After further investigation, jancernik announced that the issue should be fixed in the latest plugin version, with a link to the relevant pull request on GitHub: https://github.com/discourse/discourse-calendar/pull/425.

I have Discourse Calendar installed and it has worked fine. However, I just noticed that any calendar now acts as a Holiday Calendar. I tried setting the holiday calendar topic id already

CleanShot 2023-01-05 at 21.14.27

However, adding an event to any calendar still sets my holiday status

CleanShot 2023-01-05 at 21.15.40

So effectively, all calendars are holiday calendars now :eyes:

Is this a bug or is there a configuration setting I missed?

3 Likes

I have same issue! Even removing the “on holiday” status or deleting the post with the calendar entry doesn’t solve the issue. The holiday status is reapplied 1-2min after its removal.

2 Likes

Have you figured out a fix? Still encountering this issue :smiling_face_with_tear:

I’m going to give this another run-through today. Is there anything special about your settings or setup that could help me replicate this?

1 Like

Thank you very much! :blush:

None that I know of. Any details that I should look out for? Using 3.1.0.beta6 now.

Here are the installed plugins:

## Plugins go here
## see https://meta.discourse.org/t/19157 for details
hooks:
  after_code:
    - exec:
        cd: $home/plugins
        cmd:
          - git clone https://github.com/discourse/docker_manager.git
          - git clone https://github.com/discourse/discourse-docs.git
          - git clone https://github.com/discourse/discourse-chat-integration.git
          - git clone https://github.com/discourse/discourse-checklist.git
          - git clone https://github.com/discourse/discourse-feature-voting.git
          - git clone https://github.com/discourse/discourse-calendar.git
          - git clone https://github.com/discourse/discourse-saved-searches.git
          - git clone https://github.com/discourse/discourse-solved.git
          - git clone https://github.com/discourse/discourse-assign.git
          - git clone https://github.com/discourse/discourse-reactions.git
          - git clone https://github.com/discourse/discourse-cakeday.git
          - git clone https://github.com/discourse/discourse-whos-online.git
          - git clone https://github.com/discourse/discourse-data-explorer.git
          - git clone https://github.com/discourse/discourse-math.git
          - git clone https://github.com/discourse/discourse-footnote.git
          - git clone https://github.com/discourse/discourse-shared-edits.git
          - git clone https://github.com/discourse/discourse-yearly-review.git
          - git clone https://github.com/discourse/discourse-teambuild.git
          - git clone https://github.com/discourse/discourse-spoiler-alert.git
          - git clone https://github.com/discourse/discourse-chat.git
3 Likes

I’ve just given it a run-through and I am also seeing the same thing. That’s a rather unfortunate one.

My step-by-step:

  • Create a topic with a calendar
  • Add that topic id to holiday calendar topic id to create a holiday calendar
  • Add a post with a future date as a holiday calendar item
  • Create a second calendar topic
  • Add a post with today’s date to the second calendar

Expected Result - no holiday emoji should be shown as the date is not that of the holiday calendar item

Actual Result - the holiday emoji is appended to my username based on the non-holiday calendar entry

4 Likes

That’s unfortunate but also reassuring that I wasn’t imagining things :face_with_crossed_out_eyes:

Almost considering learning Ruby so I can help fix things like that (alas I’m more of a Python dude and Ruby just isn’t used much in my field :smiling_face_with_tear:)

2 Likes

Thanks, everyone, for your input on this issue. It should be fixed in the latest plugin version:

https://github.com/discourse/discourse-calendar/pull/425

2 Likes

This topic was automatically closed after 21 hours. New replies are no longer allowed.