duspeccoll / alma_integrations

API calls to push metadata from ArchivesSpace to the Alma API
22 stars 6 forks source link

Doesn't work with a prefix #20

Closed Blake- closed 2 years ago

Blake- commented 2 years ago

Howdy, when running this one on a site with a prefix (e.g. example.com/staff/) it breaks.

The record you've tried to access does not exist or may have been removed.

/repositories/-1/plugins/-1
jackflaps commented 2 years ago

Will take a look. I think there's probably a proxy setting not set quite right somewhere, this happened with another of the DU plugins a while back...

jackflaps commented 2 years ago

oh wait, I forgot about this PR that solves this: https://github.com/duspeccoll/alma_integrations/pull/19. Never confirmed it works since Penn State isn't an Ex Libris shop but I don't see why it wouldn't.

jackflaps commented 2 years ago

tested and worked for me, (finally) accepting that PR and closing this out