When attempting to view trials for the "carbon-c-14-ac0010" intervention, the trial listing app treats it as ccode and attempts to look up the drug name in the listings API.
ESTIMATE TBD
Steps to reproduce the issue
Open the browser's developer tools to the network tab.
Either a list of trials should appear, or else a message that no trials are currently available.
What's the actual result?
A message that "An error occurred. Please try again later."
Additional details / screenshot
In the developer tools, filter the requests to look for Fetch/XHR requests. There is a request to https://webapis.cancer.gov/triallistingsupport/v1/listing-information/get?ccode=carbon-c-14-ac0010
The carbon-c14-ac0010 pretty URL is being passed, but this endpoint only takes ccodes.
This appears to happen with any intervention where the pretty-url-name contains the letter c followed by one or more digits. e.g. multi-mode-kinase-inhibitor-eoc317, pi3k-inhibitor-gdc0077, etc.
Issue description
When attempting to view trials for the "carbon-c-14-ac0010" intervention, the trial listing app treats it as ccode and attempts to look up the drug name in the listings API.
Steps to reproduce the issue
What's the expected result?
What's the actual result?
Additional details / screenshot
In the developer tools, filter the requests to look for Fetch/XHR requests. There is a request to
https://webapis.cancer.gov/triallistingsupport/v1/listing-information/get?ccode=carbon-c-14-ac0010
The
carbon-c14-ac0010
pretty URL is being passed, but this endpoint only takes ccodes.This appears to happen with any intervention where the pretty-url-name contains the letter
c
followed by one or more digits. e.g.multi-mode-kinase-inhibitor-eoc317
,pi3k-inhibitor-gdc0077
, etc.Related Tickets