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

Event state remains as scheduled when changing visibility to 'not visible or scheduled' #2264

Open
a-jaxell opened this issue Oct 14, 2024 · 1 comment · May be fixed by #2266
Open

Event state remains as scheduled when changing visibility to 'not visible or scheduled' #2264

a-jaxell opened this issue Oct 14, 2024 · 1 comment · May be fixed by #2266
Assignees
Labels
🐜 bug Something isn't working

Comments

@a-jaxell
Copy link
Collaborator

Description

This was briefly mentioned in #2005 (comment)

The Event state is not set correctly when setting and unsetting visibility date.

Steps to reproduce

  1. Go to https://app.dev.zetkin.org/organize/1/projects/
  2. Click on any project
  3. Create an event draft
  4. Set visibility to a future date
  5. Click outside the date picker
  6. Open the date picker and press x to clear the date
  7. Click outside the datepicker

Expected Behaviour

Event state should change to default draft state

Actual Behaviour

Event state remains as scheduled

Screenshots (if you have any)

Screen.Recording.2024-10-14.at.20.52.43.mov
@a-jaxell a-jaxell added the 🐜 bug Something isn't working label Oct 14, 2024
@helihard
Copy link
Collaborator

helihard commented Oct 16, 2024

I think I have located the error in the code, will PR a suggested solution later today.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🐜 bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants