-
Notifications
You must be signed in to change notification settings - Fork 263
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
'Find Available' button outputs an infinite loop of appt times #1566
Comments
Hmmmm @mhn94 weird. Surely a db error, cause locally I have it output a correct stuff and also when was this tested |
This could be but massively depends on how the time was inputed by the user maybe we should just avoid errors but good catch
|
@muarachmann it could be a DB error! Although, the error exists on both the Docs and NHANES servers and locally for me. I tested my solution today. |
I mean when did you simulate the issue?
…On Sat, Mar 14, 2020 at 10:54 PM Maggie Negm ***@***.***> wrote:
@muarachmann <https://github.com/muarachmann> it could be a DB error! The
error exists on both the Docs and NHANES servers and locally for me. I
tested my solution today.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#1566 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AD4X4XSORULXNTEWLI6LL4LRHP4H3ANCNFSM4LJYCFHA>
.
--
*MUA N. LAURENT*: Lead Software Engineer
Akivas Inc. <https://akivas.com/>
Akwa, Douala,CM 00237 | 174 Royal Rd, Cape Town, WC 7405, SA
Phone: (237) 670-518-086
|
Oh, I see what you're saying, so a better solution would be to validate the input before sending it to the back-end via URL? |
It depended on which server I was using. On my local server, I tested two instances:
Do you want more specific instances through screenshots? |
A) Outreachy Username: maggie.negm
B) Issue Title: Find Available Calendar Bug
C) Report Date: 03/14/2020
D) Sites Affected: Docs Site, NHANES
E) OS/Browser Used: Chrome browser in Linux OS
F) EHR Workflow Module: Calendar
G) Steps to Reproduce the Issue:
H) Expected Behavior: Available provider times should be displayed.
I) What Actually Happened: An infinite loop of the time "12:00" appears and the app eventually crashes.
J) Screenshots with Explanation:
Below, the image shows the infinite loop of times that is displayed when the "Find Available" is selected in the "Provider" tab.
K) Estimation of Severity: Blocker - module's function ceases at this point or crashes/disables the EHR itself
M) Solution: The root cause of this infinite loop is when a negative or zero value of "evdur" is included in the dialog URL that displays the available times in either the "Patient" or "Provider" tab. Thus, to fix this, the "evdur" value will only be included in the URL if it's positive.
The text was updated successfully, but these errors were encountered: