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

Reporting year edit modal doesn't take in account the mocked date #2087

Open
pbastia opened this issue May 2, 2022 · 2 comments
Open

Reporting year edit modal doesn't take in account the mocked date #2087

pbastia opened this issue May 2, 2022 · 2 comments

Comments

@pbastia
Copy link
Contributor

pbastia commented May 2, 2022

Describe the Bug:

Probability (1-5): 3 (only when testing reporting year stuff)

Effect (1-5): 2 (there is no workaround except for manually messing with the DOM - doesn't affect production)

Steps to reproduce the behaviour:

  • As an admin, in the dev environment, set the mocked date in the past
  • Update a past the current reporting year
  • The fields still show disabled (the logic is based on the actual date, not the mocked one)

Screenshots:
image.png

Additional information:

  • OS: [e.g. iOS]
  • Browser: [e.g. chrome, safari]
  • Version: [e.g. 22]
  • Additional context
@pbastia pbastia added the Bug Something isn't working label May 2, 2022
@matthieu-foucault
Copy link
Contributor

@pbastia I'd argue that this is technical debt, not a bug, as it doesn't affect the production code

@pbastia
Copy link
Contributor Author

pbastia commented May 3, 2022

makes sense

@pbastia pbastia added Tech Debt and removed Bug Something isn't working labels May 3, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants