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

Entering a date in the past crashes the current DateTime form element #3380

Closed
GeethaParthasarathy opened this issue Jan 6, 2023 · 2 comments
Assignees
Labels
bug Something isn't working Forms
Milestone

Comments

@GeethaParthasarathy
Copy link

Describe the bug

When we try to enter a date in the past say 1800 and then we access the calendar the Datetime form element crashes as we cannot edit the date anymore

Steps to reproduce

  1. Create a form with datetime picker
  2. In the datetime picker field enter a year in the past in the Form preview
  3. Click on the calendar element and we could see that the calendar for the entered past year is displayed
  4. Now try to make any changes to the calendar or by typing in the field
  5. We could see that the current element has crashed and no changes are effective to it
date_crash.mp4

Expected behavior

Entering a date in the past should also be possible

Environment

  • OS: [Windows 10]
  • Camunda Modeler Version: [5.7.0 rc-1]
  • Execution Platform: [Camunda Cloud]

Additional context

No response

@GeethaParthasarathy GeethaParthasarathy added the bug Something isn't working label Jan 6, 2023
@nikku nikku added the Forms label Jan 6, 2023
@Skaiir Skaiir self-assigned this Jan 9, 2023
@Skaiir Skaiir added this to the HTO iteration 13 milestone Jan 10, 2023
@nikku nikku added the backlog Queued in backlog label Jan 10, 2023 — with bpmn-io-tasks
@Skaiir Skaiir modified the milestones: HTO iteration 13, HTO iteration 14 Jan 17, 2023
@Skaiir Skaiir added ready Ready to be worked on and removed backlog Queued in backlog labels Jan 17, 2023
@pinussilvestrus pinussilvestrus removed this from the HTO iteration 14 milestone Feb 2, 2023
@Skaiir
Copy link
Contributor

Skaiir commented Feb 2, 2023

We've disabled dates prior to 1900 as a temporary fix. We will however figure out a proper fix for this in the future, and it's tracked here. Nevertheless, this remains fixed upstream and we chose for now not to support dates pre-1900.

@Skaiir Skaiir added fixed upstream Requires integration of upstream change and removed ready Ready to be worked on labels Feb 2, 2023
@barmac
Copy link
Collaborator

barmac commented Feb 8, 2023

Closed via 41d2d9b

@barmac barmac closed this as completed Feb 8, 2023
@bpmn-io-tasks bpmn-io-tasks bot removed the fixed upstream Requires integration of upstream change label Feb 8, 2023
@nikku nikku added this to the M61 milestone Feb 8, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working Forms
Projects
None yet
Development

No branches or pull requests

5 participants