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

Missing next reports are looking for end date #4096

Open
sandeepsajan0 opened this issue Aug 15, 2024 · 2 comments
Open

Missing next reports are looking for end date #4096

sandeepsajan0 opened this issue Aug 15, 2024 · 2 comments
Labels
Type: Bug Bugs! Things that are broken :-/

Comments

@sandeepsajan0
Copy link
Member

Describe the bug

Some projects with the status 'Invoicing and reporting' are throwing the error 'NoneType' object has no attribute 'end_date'.

To Reproduce

Need a bit of research, but reference is https://test-apply.hypha.app/apply/projects/7/

Expected behavior

The error should be handled.

Priority

  • High (keeping you from completing day-to-day tasks)
  • Medium (slowing you down)
  • Low priority (annoying, would be nice to not see)

Affected roles

  • Staff
  • Applicants
  • Finance
@sandeepsajan0 sandeepsajan0 added the Type: Bug Bugs! Things that are broken :-/ label Aug 15, 2024
@frjo
Copy link
Contributor

frjo commented Aug 15, 2024

I looked in the test db but could not find whats different between project 7 and 8. Project 8 has no error.

If I in the db change project 7 to status "contracting" it loads without issues. I have set it back to "invoicing_and_reporting" and now the error is there again.

@sandeepsajan0
Copy link
Member Author

I looked deeper into a few projects locally, and I found it has issues with the project's 'start_date' because of the approved contract and its approval date. So, basically it is happening only to old projects. We can put it on hold until someone report it for any new project.

@sandeepsajan0 sandeepsajan0 removed their assignment Aug 16, 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

2 participants