Won't Fix
Pinned fields
Click on the next to a field label to start pinning.
Details
Details
Assignee
Mateusz Kwiatkowski
Mateusz KwiatkowskiReporter
Brandon Bowersox-Johnson
Brandon Bowersox-JohnsonOriginal estimate
2h
Time tracking
2h logged
Components
Sprint
None
Priority
Time Assistant
Time Assistant
Created June 20, 2017 at 11:33 PM
Updated February 8, 2023 at 1:29 PM
Resolved September 5, 2017 at 3:42 PM
The View Orders page works for some users (like wclerk1 in demo data), but for other users (like srmanager1) it fails with an unhelpful error message plus an un-caught JavaScript console exception.
Steps to Reproduce
Reproduced on Test (and demo-v3) in Chrome.
1) Log in as srmanager1
2) Open your Javascript console if you want to see the details (but all users, even without console open, get the on-screen error instead of getting the correct screen)
3) Navigate to View Orders
4) ERROR! "Internal Application Error" popup alert message on screen.
The same steps work for 'wclerk1'. That suggests this might be an issue with user permissions or demo data such as home facility or supplying warehouse data. But besides fixing the data, we also need to catch these kinds of Javascript exceptions so that users who don't have permissions get a helpful error message if they try to View Orders (or we need to re-visit which user rights are allowed to go to View Orders screen).
Acceptance Criteria:
When user doesn't have permissions to view orders, they should not see the View Orders drop down to select.
If user has permissions to view orders, but does not have permissions to the home facility or supplying warehouse, the error message should state: "User does not have permission, please see administrator"