Issue Number | 5380 |
---|---|
Summary | Fix invalid cdrutil:/date URIs |
Created | 2025-04-09 08:15:41 |
Issue Type | Bug |
Submitted By | Kline, Robert (NIH/NCI) [C] |
Assigned To | Kline, Robert (NIH/NCI) [C] |
Status | DEV Verified |
Resolved | 2025-04-09 08:26:45 |
Resolution | Fixed |
Path | /home/bkline/backups/jira/ocecdr/issue.502574 |
The C++ CDR server supported a parameter passed to the
cdrutil:/date
custom filter function to override the format
of the returned date string. When the C++ server was replaced by a
Python API the syntax of that parameter did not work properly so the
Python API ignored it, always returning the date and time in the
standard ISO format. That worked for a while, but at some point the
parsers became more strict about enforcing the validity of URIs, and
this parameter violated the syntax requirements for URIs by including
unescaped spaces and reserved characters. Currently this results in
empty values where the date/time would be displayed. When we next
upgrade the Python third-party libraries, it is likely that the filters
would fail completely. Remove the format parameter from the offending
URIs, and manipulate the returned date/time string as appropriate,
replacing the "T" in front of the time with a space and truncating the
"seconds" portion of the string.
Fixed on DEV.
Before:
After:
Verified on DEV. Thanks!
File Name | Posted | User |
---|---|---|
Screenshot 2025-04-09 at 08.21.23.png | 2025-04-09 08:30:09 | Kline, Robert (NIH/NCI) [C] |
Screenshot 2025-04-09 at 08.24.56.png | 2025-04-09 08:30:16 | Kline, Robert (NIH/NCI) [C] |
Elapsed: 0:00:00.001012