Saving pedigrees fails when family members have medical reports attached

Description

Steps to reproduce:

  • create a patient

  • attach a medical report PDF of around 1MB

  • draw the pedigree

  • try to save -> saving fails, the error is that the form is too big

The cause is that the medical reports are included in the patient json, which is included in the pedigree.

The ideal fix would be to not include the reports, how quick and easy is it to do it?

A quick workaround is to increase the maximum form size.

Environment

None

Status

Assignee

Andrew Misyura

Reporter

Sergiu Dumitriu

Labels

None

External issue ID

None

External issue ID

None

Components

Fix versions

Affects versions

1.4-rc-2

Priority

Blocker
Configure