Koha/t/db_dependent
Nick Clemens 4997d59c83
Bug 33270: Add record_strip_nonxml routine to Koha::Biblio::Metadata
This adds a routine that can strip non xml characters form a record.
It is intended for cases where we do not wish to throw an exception,
but rather need to process a record to allow other work to continue

To test:
prove -v t/db_dependent/Koha/Biblio/Metadata.t

Signed-off-by: Sam Lau <samalau@gmail.com>

Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
2023-07-18 12:46:57 -03:00
..
Acquisition Bug 11844: Add tests 2023-05-16 12:58:38 +02:00
api/v1 Bug 30979: (QA follow-up) Tidy things 2023-07-14 12:14:47 -03:00
Auth
AuthoritiesMarc
Authority
Biblio Bug 30358: Strip leading/trailing whitespace characters from input fields when cataloguing 2023-05-16 15:17:26 -03:00
Budgets
Circulation Bug 32894: (follow-up) Koha::Item->last_returned_by 2023-06-07 16:44:04 -03:00
CourseReserves
Creators
cronjobs
data
Exporter Bug 25503: Add failing test for _get_biblio_for_export 2023-05-10 15:26:19 -03:00
Holds Bug 31735: Avoid re-fetcing objects from database by passing them directly instead of ids to various subroutines 2023-05-12 12:40:21 -03:00
Illrequest
Items
Koha Bug 33270: Add record_strip_nonxml routine to Koha::Biblio::Metadata 2023-07-18 12:46:57 -03:00
Labels
LDAP
Letters Bug 33029: Add wrapper method for dt_from_string to KohaDates template toolkit plugin 2023-07-06 12:24:17 -03:00
Members
misc/translator
OAI
Patron
Record
Reports
Reserves Bug 33210: Add unit test 2023-04-21 10:36:26 -03:00
Search
selenium Bug 34094: (follow-up) Fix failing unit test 2023-07-12 14:30:49 -03:00
Serials Bug 23775: Claiming a serial issue doesn't create the next one 2023-07-03 10:35:09 -03:00
SIP Bug 34101: Unit Tests 2023-07-05 12:17:23 -03:00
Template/Plugin Bug 29691: Unit tests 2023-06-15 08:48:14 -03:00
Utils
www
00-strict.t
01-test_dbic.t
Accounts.t Bug 32450: (QA follow-up) Fix QA test errors 2023-05-17 10:25:07 -03:00
Acquisition.t
Amazon.t
ArticleRequests.t
AudioAlerts.t
Auth.t Bug 34288: Unit tests 2023-07-18 12:46:54 -03:00
Auth_with_cas.t
Auth_with_ldap.t
Auth_with_shibboleth.t Bug 33778: (QA follow-up) Update for master 2023-06-29 11:11:10 -03:00
AuthorisedValues.t
AuthoritiesMarc.t
AuthoritiesMarc_GetTagsLabels.t
AuthUtils.t
Barcodes.t
Barcodes_ValueBuilder.t
Biblio.t Bug 31185: Unit test 2023-06-21 13:20:33 -03:00
Biblio_holdsqueue.t
Breeding.t Bug 33404: Add unit tests 2023-07-05 12:17:22 -03:00
Breeding_Auth.t Bug 33404: Add unit tests 2023-07-05 12:17:22 -03:00
Budgets.t
Cache.t
Calendar.t Bug 33727: (QA follow-up) perl tidy whole file 2023-07-14 12:14:37 -03:00
Charset.t
check_kohastructure.t
check_sysprefs.t
Circulation.t Bug 23336: (follow-up) Fix failing test 2023-07-05 12:17:18 -03:00
Circulation_holdsqueue.t
Clubs.t
Context.t
Contract.t
CourseReserves.t
db_structure.t
DecreaseLoanHighHolds.t
Filter_MARC_ViewPolicy.t Bug 32648: Clear cache in Filter_MARC_ViewPolicy.t 2023-05-16 11:24:26 +02:00
Fines.t
FrameworkPlugin.t
Heading.t Bug 33557: Add LinkerConsiderThesaurus system preference 2023-05-10 15:26:26 -03:00
Heading_MARC21.t Bug 33277: Do not search using thesaurus when linking non 6XX fields 2023-05-10 15:26:22 -03:00
Hold.t
Holds.t Bug 32894: (QA follow-up) Fix tests 2023-06-07 16:44:05 -03:00
HoldsQueue.t Bug 33761: Unit test 2023-05-18 10:54:24 -03:00
Holidays.t
Illcomments.t
Illrequestattributes.t
Illrequests.t Bug 32548: Add tests 2023-05-09 11:46:58 -03:00
ILSDI_Services.t
ImportBatch.t
ImportExportFramework.t
Installer.t
Items.t
Koha.t
Koha_Database.t
Koha_Elasticsearch.t
Koha_ExternalContent_OverDrive.t
Koha_MetadataRecord_Authority.t
Koha_Misc_Files.t
Languages.t Bug 32775: (QA follow-up) remove useless empty line 2023-05-15 18:23:54 -03:00
Letters.t Bug 33403: Fix Letters.t if number pattern with id=1 does not exist 2023-05-10 15:26:27 -03:00
LibraryGroups.t
Linker_Default.t
Linker_FirstMatch.t
Log.t
MarcModificationTemplates.t
Members.t
Message.t
MungeMarcPrice.t
Overdues.t
Passwordrecovery.t
Patroncards.t
PatronLists.t
Patrons.t
Record.t
RecordProcessor_EmbedSeeFromHeadings.t
Reports.t
Reserves.t Bug 31735: Avoid re-fetcing objects from database by passing them directly instead of ids to various subroutines 2023-05-12 12:40:21 -03:00
rollingloans.t
RotatingCollections.t
Search.t Bug 33719: Silence warnings on ContentWarningField in Search.t 2023-05-16 12:39:21 +02:00
Serials.t
Serials_2.t
Service.t
ShelfBrowser.t
Sitemapper.t
Stats.t Bug 30928: Add tests 2023-05-10 14:19:21 -03:00
StockRotationItems.t
StockRotationRotas.t
StockRotationStages.t
SuggestionEngine_ExplodedTerms.t
Suggestions.t Bug 33236: Move NewSuggestion to Koha::Suggestion->store 2023-06-06 10:08:35 -03:00
sysprefs.t
TablesSettings.t
Tags.t
Templates.t
TestBuilder.t
Upload.t
UsageStats.t
Virtualshelves.t Bug 30418: Unit tests 2023-05-15 18:23:58 -03:00
XISBN.t
XSLT.t Bug 33733: Move to db_dependent 2023-05-16 12:38:16 +02:00
yaml.t
zebra_config.pl