gaiaresources / ala-citizenscience

Automatically exported from code.google.com/p/ala-citizenscience
1 stars 4 forks source link

Non alpha characters in attribute descriptions can result in broken advanced review page. #261

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Create a survey with an attribute description with brackets (e.g. 
"Contributor (if not the logged in user)" )
2. Create a AttributeFacet matching the new attribute.
3. Navigate to the advancedReview page.

What is the expected output? What do you see instead?
Expect to be able to facet the results on your new attribute.
Instead there are script errors and hence the page script doesn't work.

I think the best solution to this is to change the AttributeFacet to facet on 
the database name, not the form description.  This will allow special 
characters to be used in the description and is more intuitive anyway. (based 
on my highly unscientific sampling of 3 people).

Original issue reported on code.google.com by chris.go...@gmail.com on 22 May 2012 at 12:36