Closed ttlenard closed 6 months ago
In web-client/src/views/DocketRecord/DocketRecord.tsx
we are using a React useEffect to get element 'all-selectable-docket-entries-checkbox'
. This element is only present in the NonPhone
section of the tsx. Ideally, we would be tying the checkbox state to Cerebral rather than React
Describe the Bug A clear and concise description of what the bug is. We recently started getting reports from Court users that when they attempt to view a case docket record on their Court issued iPhones, they are getting a blank white screen on their device. After using a mobile device simulator, we were able to find the error (see screen capture below.) Some example docket numbers that we found this issue in is 17866-22, and 12000-22.
It appears that this bug may have something to do with the implementation of #10068 (download docket entries)? Is the docket record just too "wide" making it so that the page won't load on a mobile device?
We have found some temporary solutions for Court users. If they turn their phone to "landscape" mode and refresh, it typically will load. Also, if they adjust the font size and refresh, or if they view the page in "desktop mode" on their device, these solution will all allow the page to render successfully. If they don't actively update their settings or change the view, then the docket record will never load for the user.
Business Impact/Reason for Severity low
In which environment did you see this bug? Prod/Test
Who were you logged in as? Any Court user (besides general user)
What were you doing when you discovered this bug? (Using the application, demoing, smoke tests, testing other functionality, etc.) This bug was reported to us by Court users
To Reproduce Steps to reproduce the behavior:
Expected Behavior A clear and concise description of what you expected to happen.
Docket records should still load for logged in Court users when logged in on a mobile device (it might not be pretty, but it should still load)
Actual Behavior A clear and concise description of what actually happened. Docket records aren't loading for Logged in Court users when they are viewing on a mobile device
Screenshots If applicable, add screenshots to help explain your problem.
Here is the error message that we were able to get from the simulator:
Here is the error for that type error:
Desktop (please complete the following information):
Smartphone (please complete the following information):
Cause of Bug, If Known
Process for Logging a Bug:
Severity Definition:
Critical Defect Blocks entire system's or module’s functionality No workarounds available Testing cannot proceed further without bug being fixed.
High-severity Defect Affects key functionality of an application There's a workaround, but not obvious or easy App behaves in a way that is strongly different from the one stated in the requirements
Medium-severity Defect A minor function does not behave in a way stated in the requirements. Workaround is available and easy
Low-severity Defect Mostly related to an application’s UI Doesn't need a workaround, because it doesn't impact functionality
Definition of Ready for Bugs(Created 10-4-21)
Definition used: A failure or flaw in the system which produces an incorrect or undesired result that deviates from the expected result or behavior. (Note: Expected results are use cases that have been documented in past user stories as acceptance criteria and test cases, and do not include strange behavior unrelated to use cases.)
The following criteria must be met in order for the development team to begin work on the bug.
The bug must:
Process: If the unexpected results are new use cases that have been identified, but not yet built, new acceptance criteria and test cases should be captured in a new user story and prioritized by the product owner.
If the Court is not able to reproduce the bug, add the “Unable to reproduce” tag. This will provide visibility into the type of support that may be needed by the Court. In the event that the Court cannot reproduce the bug, the Court will work with Flexion to communicate what type of troubleshooting help may be needed.
Definition of Done (Updated 4-14-21)
Product Owner
Engineering
test
environment if prod-like data is required. Otherwise, deployed to anyexperimental
environment for review.