We're updating the issue view to help you get more done. 

In the phenotype configuration, if the category for a section is NOT an HPO term, all phenotypes fail to display for any patient with a non-standard phenotype in that category

Description

Steps to reproduce:

  • In the Administration -> PhenoTypes displayed by default, create a new phenotype configuration

  • In the default JSON proposed upon creation, for the "Growth parameters" section, change the "categories" field from [ "HP:0001507" ] to [ "Growth" ]; Save;

  • Go back to Administration -> PhenoTypes displayed by default and set this new configuration as the default (yeah, the workflow isn't great); Save;

  • Create a new patient and click on some of the default phenotypes, then save & view --> everything looks as expected

  • Go back to editing the patient and add a non-standard "phenotype" (e.g. "xyz") in the "Growth parameters" section, using the "Other" input, then save & view --> "An error has occurred while attempting to display the list of phenotypes." is displayed instead of the phenotypes

  • Go back to editing --> The same error message is displayed, there's no way for the user to edit the phenotypes.

Environment

None

Status

Assignee

Alina Gvo

Reporter

Marta Girdea

Labels

None

External issue ID

None

External issue ID

None

Fix versions

Affects versions

1.2

Priority

Medium