Skip to content

2 Instances of Mongolia distribution exist in the database - one is the parent of the other #123

@ThomasDenoirjean

Description

@ThomasDenoirjean

Describe the bug
There is two instance of Mongolia, one with the id '496' and the slug '37', and one with the id '321' and the slug 'mon'. The latter is a child of the first one

To Reproduce
Steps to reproduce the behavior:

  1. Fetch both Mongolia distribution instance
    Mongolia1 = requests.get('https://trefle.io/api/v1/distributions/496/?token=YOUR_TOKEN').json()
    Mongolia2 = requests.get('https://trefle.io/api/v1/distributions/321/?token=YOUR_TOKEN').json()
  2. Check the parent and children data in the JSON

Expected behavior
Only one instance of the Mongolia distribution should exist. I suggest to delete the one with the id '321' and the slug 'mon', as it is a child of the other Mongolia instance.

Screenshots
image

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions