Search Mailing List Archives

Limit search to: Subject & Body Subject Author
Sort by: Reverse Sort
Limit to: All This Week Last Week This Month Last Month
Select Date Range     through    

[bioontology-support] Incorrect data returned by form autocomplete api?

Steven M. Gallo smgallo at
Fri Jun 6 11:55:34 PDT 2014


I am using the form autocomplete widget as part of REDfly and noticed a change in the data
that is returned.  When I set the field's class format to return "shortid" it now includes a url
as the value instead of the short id.  For example, "".
Previously, only FBbt:00004729 was returned.  Is this correct?

A sample of the data returned by this query:[object%20HTMLInputElement]&target_property=shortid&subtreerootconceptid=&includedefinitions=&id=&response=json&callback=jsonp1402074801313&_=1402074811063


cell|||FB-BT||wing cell||~!~wing 
disc|||FB-BT||wing disc|dorsal 
mesothoracic disc|

Looking at the function bpFormSelect() in form_complete.js it is executing the following code to set the
value of the form text box:

      case "shortid":

The values stored in li.extra are below, it seems like the first element should be the short id rather than a url?

["", "", "BTO", "", "wing", "", 

Steve Gallo
Lead Software Engineer / Database Administrator
Center for Computational Research New York State Center of Excellence in Bioinformatics & Life Sciences
University at Buffalo, The State University of New York
701 Ellicott Street, Buffalo, NY 14203
smgallo at

More information about the bioontology-support mailing list