Details
-
Type:
Bug
-
Status: Won't Fix
-
Resolution: Done
-
Fix Version/s: None
-
Component/s: Firefly
-
Labels:
-
Story Points:1
-
Epic Link:
-
Sprint:SUIT Sprint 2018-12, SUIT Sprint 2019-01, SUIT Sprint 2019-02, SUIT Sprint 2019-03, SUIT Sprint 2019-04, SUIT Sprint 2019-05, SUIT Sprint 2019-06, SUIT Sprint 2019-07, SUIT Sprint 2019-08, SUIT Sprint 2019-09
-
Team:Science User Interface
Description
Firefly NED VOtable handing results in a rendered table where the last row returned has datatype="char" arraysize="*" rendered values get truncated when a format is specified.
E.g.: The value gets truncated if
{{ req.META_INFO["col.External Query URL.FmtDisp"] = "<a TARGET=_nedExternal HREF=\\"%s
"> Link ↗</a>";}}
URL send to Firefly for table data:
From the query response:
<FIELD ID="ext_col3" name="External Query URL" ucd="request.url" datatype="char" type="hidden" arraysize="*"><DESCRIPTION> NED's link to related on-line astronomical services that are specific to the survey or catalog associated with the NED names.</DESCRIPTION></FIELD>
The final record has an example that gets truncated to 200 characters:
<TD>http://archive.nrao.edu/archive/ArchiveQuery?SUBMIT=Submit+Query&PASSWD=&QUERYTYPE=ARCHIVE&PROTOCOL=HTML&SORT_PARM=Starttime&SORT_ORDER=Asc&MAX_ROWS=NO+LIMIT&SORT_PARM2=Starttime&SORT_ORDER2=Asc&QUERY_ID=9999&QUERY_MODE=Prepare+Download&LOCKMODE=PROJECT&SITE_CODE=AOC&DBHOST=CHEWBACCA&WRITELOG=0&PROJECT_CODE=&SEGMENT=&OBSERVER=&ARCHIVE_VOLUME=&TIMERANGE1=&TIMERANGE2=&SOURCE_ID=&SRC_SEARCH_TYPE=NED+or+SIMBAD+Resolver&CALIB_TYPE=ALL+Srcs&CENTER_RA=12h10m32.6s&LONG_RANGE=&FRAME=Equatorial&CENTER_DEC=+39d24'21"&LAT_RANGE=&EQUINOX=J2000&SRAD=1&MIN_EXPOSURE=&OBS_BANDS=ALL&TELESCOPE=ALL&OBS_MODE=ALL&CORR_MODE=ALL&TELESCOPE_COFIG=ALL&OBS_POLAR=ALL&SUBARRAY=ALL&OBSFREQ1=&DATATYPE=ALL&OBSBW1=&ARCHFORMAT=ALL</TD>
truncated to in rendered table:
Attachments
Issue Links
- relates to
-
DM-16661 Firefly tableviewer column does not apply column formatting on user filter attempt
- Done
This looks like a data problem. The example above contains unencoded quote and double-quotes in the URL. Combined with the `FmtDisp` value, you get an href that looks like this:
HREF="http://archive.nrao.edu/archive/ArchiveQuery?.......&CENTER_DEC=+39d24'21"... the-rest-of-the-string"
The browser will take the value between the double-quotes and make a link out of it. This is why you think the string is truncated. If you save the file or switch to text view, you will see that the value is not truncated.
Jeffery Jacobson, I think the quotes in the url should be encoded with %22 and %27.