BgeeDB / bgee_apps

Source code of the Java Bgee applications
https://bgee.org/
Creative Commons Zero v1.0 Universal
2 stars 1 forks source link

Problem with backslash in gene search #198

Closed fbastian closed 4 years ago

fbastian commented 4 years ago

In GitLab by @fbastian on Oct 11, 2018, 17:02

In the logs I came to the following error:

ERROR org.bgee.controller.FrontController 293 doRequest - catching java.lang.IllegalStateException: The term should match either the gene id/name or one of its synonyms. Term: upk\3a GeneTO;GeneTO [geneId=ENSG00000100373, speciesId=9606, geneBioTypeId=6, OMAParentNodeId=185046, ensemblGene=true, geneMappedToGeneIdCount=1]
    at org.bgee.model.gene.GeneService.geneMatch(GeneService.java:265)
    at org.bgee.model.gene.GeneService.lambda$searchByTerm$4(GeneService.java:245)
    at org.bgee.model.gene.GeneService.searchByTerm(GeneService.java:246)
    at org.bgee.controller.CommandSearch.processRequest(CommandSearch.java:65)
    at org.bgee.controller.FrontController.doRequest(FrontController.java:265)
    at org.bgee.controller.FrontController.doGet(FrontController.java:344)

There were several problems:

fbastian commented 4 years ago

In GitLab by @fbastian on Oct 11, 2018, 17:06

mentioned in commit af87a0a23df649cdf52270e0286ca236aabb97aa

fbastian commented 4 years ago

In GitLab by @fbastian on Oct 11, 2018, 17:06

closed