The GetAuthority shim does not check that authority retrieval was successful, and therefore can call ->record on an undefined value. This can be reproduced by trying to load an invalid authority record using bulkmarcimport.
Created attachment 12774 [details] [review] Bug 8905: Error when accessing invalid authority The GetAuthority shim does not check that authority retrieval was successful, and therefore can call ->record on an undefined value. This can be reproduced by trying to load an invalid authority record using bulkmarcimport. There may be other ways to trigger it, but I'm not sure what they are.
Created attachment 12783 [details] [review] [SIGNED-OFF] Bug 8905: Error when accessing invalid authority The GetAuthority shim does not check that authority retrieval was successful, and therefore can call ->record on an undefined value. This can be reproduced by trying to load an invalid authority record using bulkmarcimport. There may be other ways to trigger it, but I'm not sure what they are. Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
QA comment: one-line patch, fixes an annoying error that should not happen, but of course, does sometimes
Patch pushed to master
This doesn't apply to 3.8.x
Released in 3.10.0