Skip to content

[Bug]: Personal informations can display wrong information #26

@Sigeth

Description

@Sigeth

Short description

The /personal-informations endpoint can display informations at wrong places. This is caused by the program just assuming every case is in the correct order, which changes depending on the profile.

Expected Behavior

I'll just take the example with father. This is how the father should display :

{
  "name": "Arthur",
  "firstName": "Weasley",
  "occupation": "Government Officer"
}

Actual Behavior

{
  "name": "-",
  "firstName": "City of London School",
  "occupation": "FDS78DS5"
}

which is the "bac" informations.

Steps to Reproduce the Problem

  1. Get the token with /token endpoint
  2. Get on /personal-informations
  3. Maybe it will work for you, maybe not

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions