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

Project report periods that have passed can no longer be changed #4180

Open
frankduncan opened this issue Oct 23, 2024 · 0 comments
Open

Project report periods that have passed can no longer be changed #4180

frankduncan opened this issue Oct 23, 2024 · 0 comments
Labels
Type: Bug Bugs! Things that are broken :-/

Comments

@frankduncan
Copy link
Contributor

Describe the bug

When you have a project reporting period (especially does not report style), and the report date has passed, you can no longer change the reporting period. Changing it does change the report_config object, but the report object does not get changed. The offending line of code is here:

https://github.com/HyphaApp/hypha/blob/main/hypha/apply/projects/models/report.py#L358

But I'm not sure of the ramifications of changing it.

The use case here is when someone wants an extension, and that has been granted.

To Reproduce

Steps to reproduce the behavior:

  1. Get a project to the reporting phase
  2. Set the report date to a non repeating date
  3. Wait for the date to pass (or set the date for the report_config and report in the database to some time in the past)
  4. Update the report date through the interface

Expected behavior

The report date should change

Priority

  • High (keeping you from completing day-to-day tasks)

Affected roles

  • Staff
  • Applicants
@frankduncan frankduncan added the Type: Bug Bugs! Things that are broken :-/ label Oct 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Bug Bugs! Things that are broken :-/
Projects
None yet
Development

No branches or pull requests

1 participant