VuFind

Unprintable MARC characters can cause problems on staff view.

Details

  • Type: Bug Bug
  • Status: Resolved Resolved
  • Priority: Trivial Trivial
  • Resolution: Fixed
  • Affects Version/s: 1.0
  • Fix Version/s: 1.0.1
  • Component/s: Record
  • Labels:
    None

Description

MARC records containing unprintable ASCII characters (decimal values 29, 30 or 31) in the 008 field cause errors (and an otherwise blank display) on the Staff View tab of the Record module.

Activity

Hide
Demian Katz added a comment -
This problem was fixed in r2892, simply by filtering out the bad characters using a str_replace. The situation that revealed this bug involved records exported from an Innovative system -- it was also proved possible to solve the issue by changing export settings, though the VuFind-side fix will remain in place. Note that the VuFind fix only affects the staff view tab, and other MARC-related XML transformations (for example, in currently-under-development OAI-PMH code) may also have problems related to this situation.
Show
Demian Katz added a comment - This problem was fixed in r2892, simply by filtering out the bad characters using a str_replace. The situation that revealed this bug involved records exported from an Innovative system -- it was also proved possible to solve the issue by changing export settings, though the VuFind-side fix will remain in place. Note that the VuFind fix only affects the staff view tab, and other MARC-related XML transformations (for example, in currently-under-development OAI-PMH code) may also have problems related to this situation.

People

Vote (0)
Watch (0)

Dates

  • Created:
    Updated:
    Resolved: