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

Request status does not change from Managed if post is edited #383

Open
1 of 4 tasks
shuaibq3 opened this issue Jan 18, 2025 · 0 comments
Open
1 of 4 tasks

Request status does not change from Managed if post is edited #383

shuaibq3 opened this issue Jan 18, 2025 · 0 comments
Assignees
Labels
bug Something isn't working
Milestone

Comments

@shuaibq3
Copy link
Collaborator

Bug Report

The status of a request changes to Managed when the number of donors required in a post are managed, if I understand it correctly. But if the request is edited and blood bag count is increased, the request status does not change back to Pending status. Ideally, it should reflect the status based on required blood bags and accepted donor count.

Severity:

  • P0 (Critical)
  • P1 (High Priority)
  • P2 (Medium Priority)
  • P3 (Low Priority)

Possible Solution (optional)

A wild idea to consider: The status Managed seems to be a status that can be calculated dynamically rather than storing anywhere. If that is feasible, we can make this status a dynamic one, rather than having it saved in the db. Downside being, when we need the status, if we don't have the donor count, we may need to perform another query for that. Not sure how extensively that is used in application logic, but may be something to consider.

@shuaibq3 shuaibq3 added the bug Something isn't working label Jan 18, 2025
@mahinuzzaman mahinuzzaman self-assigned this Jan 30, 2025
@mahinuzzaman mahinuzzaman added this to the Sprint 5 milestone Jan 30, 2025
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
Status: No status
Development

No branches or pull requests

2 participants