-
Notifications
You must be signed in to change notification settings - Fork 100
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
Staff ID WebCard Cutoff #1250
Comments
|
Debugged a bit further. When the issue was reported, the API was in a broken state, where it was returning status code 200 (Success) but all data fields were empty strings Resolved a bug where the card height was only being set after rendering the barcode, which was only called if the barcode was not an empty string. If the API enters this broken state again, the card will now look like this: Verified and deployed to QA & PROD @woznaut Should we revisit which data elements are required in order to render the Employee ID card metadata vs. falling back to 'An error occurred, try again' user-facing message? Currently the Staff ID card tries to render any data elements returned (Name, Dept, Emplid, Barcode) and will only show a user-facing error when the API returns a status code that is not 200 |
Name, EmpID and Barcode should be required. Dept I'm on the fence about. Error message: |
Thanks woznaut |
Time Tracking: MA-34
It was reported that the Staff ID card is rendering in a collapsed state, preventing the user from seeing their full Staff ID card.
Investigate and resolve.
This is done when:
The text was updated successfully, but these errors were encountered: