tubackkhoa / gbif-dataportal

Automatically exported from code.google.com/p/gbif-dataportal
0 stars 1 forks source link

Search strings containing accents (é,è) cause search to fail #29

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
http://data.gbif.org/occurrences/search.htm?c[0].s=12&c[0].p=0&c[0].o=Herbier+de
+l%27Université%20Louis%20Pasteur&c[1].s=13&c[1].p=0&c[1].o=STR&c[2].s=14&c[2].
p=0&c[2].o=STR_10939

-> no result for search (even when accents are html-encoded, i.e. "é" =
"é")

Substituting "*" for "é" gives a result:
http://data.gbif.org/occurrences/search.htm?c[0].s=12&c[0].p=0&c[0].o=Herbier+de
+l%27Universit*Louis%20Pasteur&c[1].s=13&c[1].p=0&c[1].o=STR&c[2].s=14&c[2].p=0&
c[2].o=STR_10939

Browser version used: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1.6)
Gecko/20061201 Firefox/2.0.0.6 (Ubuntu-feisty)

(reported by Patricia Kelbert)

Using Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.6)
Gecko/20070725 Firefox/2.0.0.6 (ahahn), the search fails even with *.

Original issue reported on code.google.com by josecua...@gmail.com on 31 Jul 2009 at 1:16

GoogleCodeExporter commented 8 years ago

Original comment by josecua...@gmail.com on 12 Mar 2010 at 3:14

GoogleCodeExporter commented 8 years ago
The critical search is now solved.

At this point, the users can perform the search using accents. However, it is 
not 
possible to search directly from the URL. What users should do is to use the 
form from 
the beginning and add the corresponding filters.

Still need to fix some details in the occurrence records table.

Original comment by htobon on 17 Mar 2010 at 4:52

GoogleCodeExporter commented 8 years ago
The pages searchWithTable.htm, searchWithMap.htm, searchProviders.htm, 
searchResources.htm, searchCountries.htm, downloadSpreadsheet.htm, 
downloadResults.htm 
and setupModel.htm already show the accents.

However, the table that is generated in searchWithTable.htm shows wrong 
pagination 
links.

Original comment by htobon on 24 Mar 2010 at 7:48

GoogleCodeExporter commented 8 years ago
fixed in ciat branch in revisions r69 and r70

Original comment by daniel.amariles88 on 14 May 2010 at 3:28

GoogleCodeExporter commented 8 years ago

Original comment by josecua...@gmail.com on 25 Jun 2010 at 1:43

GoogleCodeExporter commented 8 years ago
changes submitted to trunk at r169

Original comment by josecua...@gmail.com on 25 Jun 2010 at 1:44