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

Family studies code should be more bullet-proof

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Medium
    • Resolution: Done
    • Affects versions: None
    • Fix versions: 1.3-milestone-3
    • Components: family-studies
    • Labels:
      None

      Description

      1) Exceptions and null-s should be correctly handled in the code. In particular errors that are not critical should be handled and operation should proceed, instead of aborting with an exception (e.g. if part of JSON is incorrectly formatted - like genes are in a wrong/outdated format - then genes should not be updated, but the rest of the data should be)

      2) Any writes (e.g. save patient document, save family document) should be done at the last possible moment to avoid some writes being done and the rest being aborted because of a problem that could have been detected earlier

        Attachments

          Issue links

            Activity

              People

              • Assignee:
                asm Andrew Misyura
                Reporter:
                asm Andrew Misyura
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: