opentargets / issues

Issue tracker for Open Targets Platform and Open Targets Genetics Portal
https://platform.opentargets.org https://genetics.opentargets.org
Apache License 2.0
12 stars 2 forks source link

Cancer Biomarkers widget crashing in the latest dev deployment #3049

Closed prashantuniyal02 closed 1 year ago

prashantuniyal02 commented 1 year ago

Describe the bug Cancer Biomarkers widget is crashing in the evidence page of the latest dev deployment.

Observed behaviour Cancer Biomarkers widget crashing in the evidence page of the latest dev deployment image

Expected behaviour The Cancer biomarkers widget should show the correct entries as seen in the production version of the same evidence page. image

To Reproduce Steps to reproduce the behaviour:

  1. Go to a evidence page in the latest dev deployment.
  2. Click on Cancer Biomarkers widget
  3. Scroll down to Cancer Biomarkers widget
  4. See error

Additional context The API response looks healthy.

API response: ```json { "data": { "disease": { "id": "EFO_0000756", "evidences": { "count": 2, "rows": [ { "disease": { "id": "EFO_0000389", "name": "cutaneous melanoma", "__typename": "Disease" }, "diseaseFromSource": "Cutaneous melanoma", "biomarkerName": "CDKN2A oncogenic mutation", "biomarkers": { "variant": [ { "variantId": null, "name": "CDKN2A", "functionalConsequenceId": { "id": "SO:0001777", "label": "somatic_variant", "__typename": "SequenceOntologyTerm" }, "__typename": "variant" } ], "geneExpression": null, "__typename": "biomarkers" }, "drugFromSource": "Cdk4/6 Inhibitors", "drug": null, "drugResponse": null, "confidence": "Case report", "literature": null, "urls": [ { "niceName": "American Society of Clinical Oncology Annual Meeting 2013", "url": "https://meetinglibrary.asco.org/browse-meetings/2013%20ASCO%20Annual%20Meeting", "__typename": "LabelledUri" } ], "__typename": "Evidence" }, { "disease": { "id": "EFO_0000389", "name": "cutaneous melanoma", "__typename": "Disease" }, "diseaseFromSource": "Cutaneous melanoma", "biomarkerName": "CDKN2A deletion", "biomarkers": { "variant": [ { "variantId": null, "name": "CDKN2A:del", "functionalConsequenceId": { "id": "SO:0001563", "label": "copy_number_change", "__typename": "SequenceOntologyTerm" }, "__typename": "variant" } ], "geneExpression": null, "__typename": "biomarkers" }, "drugFromSource": "Cdk4/6 Inhibitors", "drug": null, "drugResponse": null, "confidence": "Case report", "literature": null, "urls": [ { "niceName": "American Society of Clinical Oncology Annual Meeting 2013", "url": "https://meetinglibrary.asco.org/browse-meetings/2013%20ASCO%20Annual%20Meeting", "__typename": "LabelledUri" } ], "__typename": "Evidence" } ], "__typename": "Evidences" }, "__typename": "Disease" } } } ```
prashantuniyal02 commented 1 year ago

Resolved in the latest dev 23.09