在任何日历中添加事件,我的状态就变成“休假中”

我安装了 Discourse Calendar,并且一直运行良好。但是,我刚注意到任何日历现在都充当了节假日日历。我已经尝试设置了节假日日历主题 ID

CleanShot 2023-01-05 at 21.14.27

但是,向任何日历添加事件仍然会设置我的节假日状态

CleanShot 2023-01-05 at 21.15.40

所以实际上,现在所有的日历都是节假日日历了 :eyes:

这是一个 bug,还是我错过了什么配置设置?

3 个赞

我遇到了同样的问题!即使移除“度假中”状态或删除带有日历条目的帖子也无法解决问题。度假中状态会在移除后 1-2 分钟后重新应用。

2 个赞

您找到解决方法了吗?仍然遇到此问题 :smiling_face_with_tear:

我今天会再运行一遍。您的设置或配置有什么特别之处可以帮助我复制吗?

1 个赞

非常感谢!:blush:

据我所知没有。有什么需要注意的细节吗?我现在使用的是 3.1.0.beta6。

已安装的插件如下:

## 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 个赞

我刚刚对其进行了试运行,也看到了同样的情况。这真是一个不幸的错误。

我的步骤:

  • 创建一个带有日历的主题
  • 将该主题 ID 添加到 holiday calendar topic id 以创建节假日日历
  • 添加一个带有未来日期的帖子作为节假日日历项目
  • 创建第二个日历主题
  • 添加一个带有今天日期的帖子到第二个日历

预期结果 - 不应显示节假日表情符号,因为日期不是节假日日历项目中的日期

实际结果 - 节假日表情符号根据非节假日日历条目附加到我的用户名上

4 个赞

这很不幸,但也很欣慰我不是在胡思乱想😵

几乎考虑学习Ruby以便我能帮助修复类似问题(可惜我更擅长Python,而Ruby在我这个领域用得不多🥲)

2 个赞

感谢大家就此问题提供的意见。最新插件版本应该已经修复了此问题:

2 个赞

此主题已在 21 小时后自动关闭。不再允许回复。