Project

General

Profile

Bug #3017

The Ampersand returns a blank page on searches

Added by Callie Bowdish over 12 years ago. Updated about 7 years ago.

Status:
Closed
Priority:
Normal
Category:
metacat
Target version:
Start date:
11/27/2007
Due date:
% Done:

0%

Estimated time:
Bugzilla-Id:
3017

Description

Searching on the KNB brings up a blank page when using the Ampersand (&) symbol. A search on a title such as,"Species & functional diversity"will bring up empty page.

History

#1 Updated by Redmine Admin about 7 years ago

Original Bugzilla ID was 3017

#2 Updated by ben leinfelder about 7 years ago

  • Target version changed from Unspecified to 2.1.0

I do get a blank page on the KNB (v2.0.3) and can see this message in the log:

SystemId Unknown; Line #9; Column #1258; The entity name must immediately follow the '&' in the entity reference.

But locally (v2.0.6) I get search results even though there is an error in the log:

knb 20130409-17:00:59: [ERROR]: QuerySpecification() - SAX error parsing data: The entity name must immediately follow the '&' in the entity reference. [edu.ucsb.nceas.metacat.QuerySpecification]

Bottom line seems to be we need to fix the pathquery that gets generated (by skins) so that it is valid XML.

#3 Updated by ben leinfelder about 7 years ago

  • Assignee changed from Jing Tao to ben leinfelder
  • Status changed from New to Closed

This is in trunk now, though it is not applicable for solr queries. (I'm sure there are other character escaping issues to deal with as we work more with that query engine)

Also available in: Atom PDF