Error accessing Requests when user doesn't have a service point selected

Description

Steps to repro:

  1. Log into folio-snapshot as diku_admin

  2. Create a user with permissions for requests

  3. Don't assign any service points in the Service points accordion of the user record

  4. Log out

  5. Log back in as the new user

  6. Click Requests app

Expected: Since we've developed functionality in Requests which relies on users having a SP selected (Hold shelf clearance report and Pick slips), we should now display a friendly message like we do when you try to access Check out or Check in without a service point selected. Details:

  • Header: Access denied

  • Body: You must select a service point to access the Requests app. Please add one or more service points to your user record in the Users app. Contact an administrator if you do not have the ability to add service points to your record.

  • Buttons:

    • Close

    • Close X icon upper left

Actual: Error is thrown

Additional info:

CSP Request Details

None

CSP Rejection Details

None

Potential Workaround

None

Attachments

2
  • 01 Apr 2020, 09:27 AM
  • 23 Mar 2020, 02:49 PM

Checklist

hide

TestRail: Results

Activity

Show:

Cate Boerema June 2, 2020 at 2:43 PM

This works perfectly. Thanks !

Kyle Felker May 19, 2020 at 2:23 PM

The above issue is not caused by this bug-it's an entirely separate issue in the users module. It looks like the zero that's supposed to display to the far right (this displays for any accordion with no actual data) for "contact information" has a wonky display, so it's appearing at the left directly under the accordion heading. It needs a separate bug report so that it can be fixed.

Julian Ladisch April 1, 2020 at 9:28 AM

Cate reports that this also causes the random "0" appearing on user record between contact and proxy:

Done

Details

Assignee

Reporter

Priority

Story Points

Sprint

Development Team

Prokopovych

TestRail: Cases

Open TestRail: Cases

TestRail: Runs

Open TestRail: Runs
Created March 23, 2020 at 2:49 PM
Updated June 2, 2020 at 2:43 PM
Resolved June 2, 2020 at 2:43 PM
TestRail: Cases
TestRail: Runs

Flag notifications