镜像站点 · 本页由第三方 GitHub 只读镜像提供,非 GitHub 官方站点,不接受任何登录或凭据输入。前往 github.com
Skip to content

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

Open

Description

@frankduncan

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type: BugBugs! Things that are broken :-/

    Type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions