Uploaded image for project: 'PhenoTips'
  1. PhenoTips
  2. PT-3147

Pedigree node removal and redraw algorithm is sometimes terminated by a (silently hidden) exception

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Medium
    • Resolution: Fixed
    • Affects Version/s: 1.3-milestone-6
    • Fix Version/s: 1.3-rc-2
    • Component/s: Pedigree
    • Labels:
      None

      Description

      The following line has a reference to an undefined variable `changedIDs`:
      https://github.com/phenotips/phenotips/blob/master/components/pedigree/resources/src/main/resources/pedigree/view.js#L637

      As a result in some cases when removing parts of the pedigree some code which is expected to run does not, which may cause all random kinds of problems. The error was silently eaten by a try-catch block, and I can not find an example which results in clearly visible problems, but this is obviously a bug

        Attachments

          Activity

            People

            • Assignee:
              asm Andriy Misyura
              Reporter:
              asm Andriy Misyura
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: