Koha/t
Galen Charlton 386b4b15a1 bug 2315: no crash if subfield code is a metacharacter
When generating the display form of a heading that
happens to (invalidly) have a regular expression
metacharacter as a subfield label, do not crash.

An example of such a heading field is:

  <datafield tag="650" ind1=" " ind2="0">
    <subfield code="a">Dalziel, Andrew (Fictitious character</subfield>
    <subfield code=")">xFiction.</subfield>
  </datafield>

The error message associated with the crash is:

  Unmatched ) in regex; marked by <-- HERE in m/) <-- HERE / at
  /home/koha-pro/kohaclone/C4/Heading/MARC21.pm line 220.

Signed-off-by: Joshua Ferraro <jmf@liblime.com>
2008-07-08 09:36:11 -05:00
..
data/db_schemas kohabug 2076: add DB schema creation scripts from past versions 2008-05-11 05:40:47 -05:00
db_dependent
lib bug 2315: no crash if subfield code is a metacharacter 2008-07-08 09:36:11 -05:00
Amazon.t
Barcodes.t Barcodes - OO replacements, extensible module, tests. 2008-07-04 09:22:22 -05:00
Barcodes_PrinterConfig.t
Bookfund.t
Bookseller.t
Boolean.t
Branch.t
Calendar.t
Charset.t
database_dependent.pl test suite refactoring 2008-05-11 06:49:04 -05:00
Date.t bug 2088: test suite refactoring to deal with t/override_context_prefs.pm 2008-05-11 06:48:40 -05:00
Debug.t
dummy.t
Input.t
Koha.t
Languages.t
Maintainance.t
Makefile test suite: way to run single test file 2008-07-04 09:22:24 -05:00
Output.t
Record.t
Review.t
rewrite-config-test.PL improvements to automated tests, including a testing database 2008-04-21 11:26:27 -05:00
Scrubber.t Single slash added in test text string. 2008-05-29 06:22:50 -05:00
Stats.t