SimpleJSON representation of pedigrees is incompatible between PhenoTips 1.3 and 1.4 when cancers are included

Description

Steps to reproduce:

  • In PhenoTips ver 1.4 create a pedigree, and add some cancers to a node

  • export pedigree into SimpleJSON format

  • Open a PhenoTips 1.3 instance and try to import the file; the import process fails; the progress bar never goes away

(the opposite also fails: create a pedigree in 1.3 and try to import it into 1.4)

Here is a sample SimpleJSON generated by 1.4 that can not be imported by 1.3.x. versions:

The same data in 1.3 SImpleJSON that can't be imported into 1.4:

Environment

None

Activity

Show:
Andrew Misyura
August 23, 2018, 7:22 AM
Edited

The cause is that internal cancer format has changed, and that data structure is put verbatim into SimpleJSON

Need to decide if we want to fix 1.4.x (and 1.5.x) or 1.3.x.

Probably we need to adjust never versions to produce SimpleJSONs compatible with older versions, since that is the only use for the SimpleJSON format

Andrew Misyura
October 13, 2018, 8:42 AM

After a bit of though we should fix 1.4. SimpleJSON is deprecated and is only needed for 1.3, so 1.4 should conform to the "old 1.3 standard"

Fixed

Assignee

Andrew Misyura

Reporter

Sasha Andjic

Labels

None

External issue ID

None

Epic Link

Components

Fix versions

Affects versions

Priority

Medium