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

Issue in bed occupied status #8436

Closed
khavinshankar opened this issue Aug 28, 2024 · 4 comments
Closed

Issue in bed occupied status #8436

khavinshankar opened this issue Aug 28, 2024 · 4 comments
Labels
bug Something isn't working urgent

Comments

@khavinshankar
Copy link
Member

In location Management it has been showing that all beds are occupied but actually, they are Not Occupied. Only a few of them are occupied.

Occupied Beds:
image

Location:
image

Unable to select bed:
image

Reported by: Nagnath
cc: @nihal467

@khavinshankar khavinshankar added bug Something isn't working urgent labels Aug 28, 2024
@github-project-automation github-project-automation bot moved this to Triage in Care Aug 28, 2024
@rithviknishad rithviknishad moved this from Triage to Up Next in Care Aug 28, 2024
@AdityaJ2305
Copy link
Contributor

AdityaJ2305 commented Aug 29, 2024

Hey @khavinshankar as I have gone through BedSelect component in BedSelect.tsx. I noticed it is return empty array for the data we are fetching from backend and I am logging the raw data fetched not any filtered condition applied so probably it is a backend issue only . Here are screenshots :

Screenshot 2024-08-29 at 10 50 08 AM Screenshot 2024-08-29 at 10 50 26 AM

cc: @rithviknishad

@Sulochan-khadka
Copy link
Contributor

Sulochan-khadka commented Sep 5, 2024

Steps to reproduce and the expected behaviour would really help in understanding the issue better.

Kindly mention if possible @khavinshankar @rithviknishad

@rithviknishad
Copy link
Member

rithviknishad commented Sep 5, 2024

@Sulochan-khadka @AdityaJ2305 this was due to a race condition that was reproducible in an older version. However likely that the duplicate ConsultationBed records that were created on those days were not cleared.

@khavinshankar we can close this issue right?

cc: @sainak

@khavinshankar
Copy link
Member Author

Closing this issue as completed.

@github-project-automation github-project-automation bot moved this from Up Next to Done in Care Sep 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working urgent
Projects
Archived in project
Development

No branches or pull requests

4 participants