Missing supervisory node parent after updating requisition group

Description

During the investigation of why on Malawi production server parents are constantly disappearing from the supervisory node configuration, we found that they are removed by referencedata-seed-tool. This tool uses the endpoint to update/add requisition groups which means that it is a bug in the OpenLMIS core project.

The issue can be related to this ticket: https://openlmis.atlassian.net/browse/OLMIS-6470.

Reproduction steps:
1. Try to update some requisition group related to some child supervisory node (without any changes).
2. The child supervisory node doesn't have a parent associated anymore.

During testing make sure that issue from doesn’t come back!

Environment

None

Assignee

Sebastian Brudziński

Reporter

Klaudia Pałkowska

Labels

None

Story Points

3

Time tracking

12h

Epic Link

Components

Fix versions

Priority

Major
Configure