avniproject / avniproject/jnpct

[JNPCT] Removing duplicate child locations and migrating data if present

Open
#97 2 comments 0 reactions 0 assignees View on GitHub
Support
Dominant language
JavaScript
Stars
0
Forks
2
PR merge metrics
No merged PRs in 30d

Description

Currently there exists only one block for "Dharampur" which is active (not voided) - However there is another block for the same location named Dharmpur which is voided but child locations for it are active.

Because of this, these child locations are available to be added in catchment plus also visible in the drop-downs in Data entry app. The child locations under the parent "Dharmpur" should be removed after making sure that there is no data recorded against those child locations. If data is there then that data should be migrated to correct location hierarchy and afterwards the child locations under "Dharmpur" parent should be removed.

Attaching screenshots for reference:
![Child locations UI.jpg](https://images.zenhubusercontent.com/61dbee9a6fc777578773b609/9650a446-3141-435b-b4c7-1e61c65d235f)
![Catchment.jpg](https://images.zenhubusercontent.com/61dbee9a6fc777578773b609/1b602c4f-1f83-49de-9b35-780365fb9f84)
![DEA.jpg](https://images.zenhubusercontent.com/61dbee9a6fc777578773b609/58d286f2-0768-471f-b39e-39524dbb6602)

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reviewing the active Dharampur and voided Dharmpur location records, including their child locations and any associated data. Determine whether records require migration to the correct hierarchy before cleanup. Done means the duplicate child locations are removed without data loss and no longer appear in catchment or Data entry app dropdowns.

Written by the indexing model from the issue text.

Assessment

Domain
databases
Issue type
Bug
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.