Summary: | Error when accessing invalid authority | ||
---|---|---|---|
Product: | Koha | Reporter: | Jared Camins-Esakov <jcamins> |
Component: | MARC Authority data support | Assignee: | Jared Camins-Esakov <jcamins> |
Status: | CLOSED FIXED | QA Contact: | Paul Poulain <paul.poulain> |
Severity: | major | ||
Priority: | P5 - low | CC: | chris, kyle, paul.poulain |
Version: | 3.10 | ||
Hardware: | All | ||
OS: | All | ||
Change sponsored?: | --- | Patch complexity: | --- |
Documentation contact: | Documentation submission: | ||
Text to go in the release notes: | Version(s) released in: | ||
Circulation function: | |||
Attachments: |
Bug 8905: Error when accessing invalid authority
[SIGNED-OFF] Bug 8905: Error when accessing invalid authority |
Description
Jared Camins-Esakov
2012-10-11 19:02:16 UTC
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 |