Project

General

Profile

Actions

Bug #5710

closed

Metacat replication fails for datafiles with "&" in the filename

Added by ben leinfelder over 11 years ago. Updated over 11 years ago.

Status:
Resolved
Priority:
Normal
Category:
metacat
Target version:
Start date:
09/12/2012
Due date:
% Done:

0%

Estimated time:
Bugzilla-Id:
5710

Description

When troubleshooting SANParks-SAEON, we encountered errors with the documentInfo parser on the target machine:

judithk.1128.1 has the filename: "KamathPL_ZebraSampling&GenotypeData.txt"
error:
knb 20120904-22:03:59: [ERROR]: ReplicationHandler.handleSingleDataFile - 6 Failed to write data file judithk.1128.1 into xml_documents from dataknp.sanparks.org/sanparks/servlet/replication because The reference to entity "GenotypeData.txt" must end with the ';' delimiter.

judithk.1223.1: "KNPEle & Buff Census 2007 Report.pdf"
error:
knb 20120906-04:10:23: [ERROR]: ReplicationHandler.handleSingleDataFile - 9 Failed to write data file judithk.1223.1 into xml_documents from dataknp.sanparks.org/sanparks/servlet/replication because The entity name must immediately follow the '&' in the entity reference. [ReplicationLogging]

Actions

Also available in: Atom PDF