uniprot / enzymeportal

The EBI Enzyme Portal
http://www.ebi.ac.uk/enzymeportal/
Apache License 2.0
11 stars 4 forks source link

chemical compound filter issues with strange characters #193

Open computingfacts opened 10 years ago

computingfacts commented 10 years ago

a search for pyruvate kinase , yields 423 results . try and filter using the compounds filter for 3,3',5-triiodo-L-thyronine . the filter facets breaks at this point. could it be because of the character ' or ,?

computingfacts commented 10 years ago

This problem happens when the browser splits a compound such as 3,3',5-triiodo-L-thyronine into 3 parts due to the comma separator. Strangely, applying Springs conversions service or custom PropertyEditor did not fix this issue. we had to do some minor changes to the javacript, a few checks and introduce some variables to ensure that strange characters such as 3,3',5-triiodo-L-thyronine could be filtered in the search result. This issue is now fixed but we still need to do more testing.

rafael-alcantara commented 10 years ago

This is happenning again (see #206).