Project

General

Profile

Actions

Bug #3017

closed

The Ampersand returns a blank page on searches

Added by Callie Bowdish about 17 years ago. Updated over 11 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.

Actions #1

Updated by Redmine Admin over 11 years ago

Original Bugzilla ID was 3017

Actions #2

Updated by ben leinfelder over 11 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.

Actions #3

Updated by ben leinfelder over 11 years ago

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

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)

Actions

Also available in: Atom PDF