[GH-ISSUE #2929] [Bug] Cannot add events to Calendar #1284

Closed
opened 2026-03-23 20:47:22 +00:00 by mirror · 2 comments
Owner

Originally created by @Xazin on GitHub (Jul 3, 2023).
Original GitHub issue: https://github.com/AppFlowy-IO/AppFlowy/issues/2929

Originally assigned to: @richardshiue on GitHub.

Bug Description

When creating an event in the calendar, it is possible to change the type and name of the Date field.

Changed the type of the field to Text, and the name and value of the field respectively to Hello and World.

Then changed to another page (where the calendar is referenced), the event was now missing. Went back to the calendar view, and was then unable to add an event to the calendar at all.

How to Reproduce

  1. Create a Calendar
  2. Create a Document
  3. Reference the Calendar in the new document
  4. Navigate to the Calendar
  5. Add an event
  6. Change type of the field Date to Text
  7. Change name of the field Date to Hello
  8. Change value of the field Date to World
  9. Navigate to the Document
  10. Event is missing
  11. Navigate back to the Calendar
  12. Try to add an event but nothing happens

Expected Behavior

  1. Create a Calendar
  2. Create a Document
  3. Reference the Calendar in the new document
  4. Navigate to the Calendar
  5. Add an event
  6. The Date fields name and type cannot be changed

Operating System

Windows

AppFlowy Version(s)

0.2.5

Screenshots

No response

Additional Context

Just changing the Date field type to anything other than Date is enough to cause the bug.

Originally created by @Xazin on GitHub (Jul 3, 2023). Original GitHub issue: https://github.com/AppFlowy-IO/AppFlowy/issues/2929 Originally assigned to: @richardshiue on GitHub. ### Bug Description When creating an event in the calendar, it is possible to change the type and name of the `Date` field. Changed the type of the field to Text, and the name and value of the field respectively to `Hello` and `World`. Then changed to another page (where the calendar is referenced), the event was now missing. Went back to the calendar view, and was then unable to add an event to the calendar at all. ### How to Reproduce 1. Create a Calendar 2. Create a Document 3. Reference the Calendar in the new document 4. Navigate to the Calendar 5. Add an event 6. Change type of the field `Date` to `Text` 7. Change name of the field `Date` to `Hello` 8. Change value of the field `Date` to `World` 9. Navigate to the Document 10. Event is missing 11. Navigate back to the Calendar 12. Try to add an event but nothing happens ### Expected Behavior 1. Create a Calendar 2. Create a Document 3. Reference the Calendar in the new document 4. Navigate to the Calendar 5. Add an event 6. The `Date` fields name and type cannot be changed ### Operating System Windows ### AppFlowy Version(s) 0.2.5 ### Screenshots _No response_ ### Additional Context Just changing the `Date` field type to anything other than `Date` is enough to cause the bug.
mirror 2026-03-23 20:47:22 +00:00
Author
Owner

@richardshiue commented on GitHub (Jul 4, 2023):

Hello @Xazin, I'll be working on this. I also realize the date field can be deleted as well which is definitely undesired behavior.

<!-- gh-comment-id:1619392531 --> @richardshiue commented on GitHub (Jul 4, 2023): Hello @Xazin, I'll be working on this. I also realize the date field can be deleted as well which is definitely undesired behavior.
Author
Owner

@annieappflowy commented on GitHub (Apr 1, 2024):

cannot reproduce it on macOS
closing it for now

<!-- gh-comment-id:2029344631 --> @annieappflowy commented on GitHub (Apr 1, 2024): cannot reproduce it on macOS closing it for now
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
AppFlowy-IO/AppFlowy#1284
No description provided.