brleeflang / eurocarb

Automatically exported from code.google.com/p/eurocarb
0 stars 0 forks source link

Unhandled exception during /eurocarb/search_tissue_taxonomy.action #62

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
More complaints (yes, I just go on and on and on...)
Entering valid MeSH terms from the top of my head is not easy. Entering Liver 
as organ I got the following:

---context---
action:org.eurocarbdb.action.core.SearchTissueTaxonomy
url:/eurocarb/search_tissue_taxonomy.action
params:
server:www.ebi.ac.uk

---
java.lang.UnsupportedOperationException: Tissuet taxonomy name/synonym searches 
of < 3 chars not supported
org.eurocarbdb.dataaccess.core.TissueTaxonomy.lookupNameOrSynonym(TissueTaxonomy
.java:225)
org.eurocarbdb.action.core.SearchTissueTaxonomy.execute(SearchTissueTaxonomy.jav
a:137)
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
...

I think a list of alternatives to browse would be much more user friendly. Also 
I'm fairly sure that I'd get a different MeSH if I enter Liver as an organ or 
Liver as a dish - this kind of confusion should be avoided. (The proper term is 
probably hepatic thingummy anyway...)

Original issue reported on code.google.com by rol...@stenutz.eu on 16 Aug 2010 at 7:48