Assigned service point doesn't display in Settings/Organizations/Locations

Description

This applies to our Q4 instance at Texas A&M (TAMU)

TAMU has 60 locally-created locations in its Q4 instance (https://folio-q4.library.tamu.edu/), all of which were created in batch by submitting json to the /locations endpoint. As required by the endpoint, all of the *.json records for locations contained a primaryServicePoint element. Yet, when these locations are viewed in Settings/Organization/Locations, most, but not all, appear NOT to have a primary service point assigned.

I have cross-checked this by doing a get on the location json for one location, e.g. 'stk', then a get on the id for the primaryServicePoint that is assigned to the 'stk' location. The service point exists and has the correct id. But its discoveryDisplayName doesn't display in Settings/Organization/Locations. An example is attached.

For a few locations, however, the assigned service point does display in the Settings/Organizations/Locations page. For example, the location codes that begin 'maps' do display the discoveryDisplayName for their assigned service point.

CSP Request Details

None

CSP Rejection Details

None

Potential Workaround

None

Attachments

7

Checklist

hide

TestRail: Results

Activity

Show:

Cate Boerema April 26, 2019 at 1:45 PM

Fantastic! Thanks

Anne L. Highsmith April 26, 2019 at 1:39 PM

. Yesterday TAMU tested code provided by Zak Burke and loaded into TAMU's Q1 instance. As far as I can see, this issue is fixed, along with .

Anne L. Highsmith April 24, 2019 at 4:46 PM
Edited

Howdy, . As I understand it from , our sysadmin, Zak's instructions/bundle didn't included updated code. They were simply a script and set of files used to load the location(s) json as if the updated code were in place. I would prefer to test with the actual updated code. Zak has been working on putting together a new bundle to integrate the updated code with Q1 so that we can load it and test it here. He just notified Jason that he might have such a bundle late today, more likely tomorrow.

Cate Boerema April 24, 2019 at 2:05 PM

Hi , were you able to get this to work per Zak's instructions?

Zak Burke April 18, 2019 at 5:07 PM

, I loaded this data locally and checked the values against your spreadsheet from . All locations show up! The script I used to load data is attached at

.

To run the scripts, you'll need NodeJS and yarn. With those installed, open the archive and run


in the directory where package.json is to install the dependencies, then update mk.js to point to your folio instance on line #31. Finally, run

where $endPoint is the API you want to POST to, e.g. location-units/institutions or locations and $directory is a directory containing your JSON files. Make sure you do things in the right order (service points, institutions, campuses, libraries, locations) to make sure all the foreign keys sync up.

Done

Details

Assignee

Reporter

Tester Assignee

Priority

Story Points

Sprint

Development Team

Prokopovych

TestRail: Cases

Open TestRail: Cases

TestRail: Runs

Open TestRail: Runs

Created March 1, 2019 at 5:38 PM
Updated April 26, 2019 at 1:45 PM
Resolved April 26, 2019 at 1:45 PM
TestRail: Cases
TestRail: Runs