Uploaded image for project: 'PhenoTips'
  1. PT-3959

"Tested Negative/Rejected Candidate" Gene breaks Pedigree Editor

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Medium
    • Resolution: Fixed
    • Affects Version/s: 1.4.2
    • Fix Version/s: 1.4.5, 1.5-milestone-1
    • Component/s: Pedigree
    • Labels:
      None
    • Sprint:

      Description

      Adding a genotype that has a status of "Tested Negative" or "Rejected Candidate" on the patient form causes the pedigree editor to break for that patient. Their information form modal will be un-openable. This was introduced in PT 1.4.2, once "Negative" gene status changed to "Tested negative". Hence, the master branch of PT has this bug.

      Repro:
      See http://172.20.4.77:8080/P0000001

      • Create a patient, add any gene with a status of "Tested negative" or "Rejected candidate"
      • Add a pedigree, and try to open the patient form. Observe the error in the console.

      As a side note, the automated tests did not catch this earlier as I only added a "Tested negative" or "Rejected candidate" gene status in the matching tests.

        Attachments

          Activity

            People

            • Assignee:
              brian.li Brian Li
              Reporter:
              brian.li Brian Li
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: