avniproject / avniproject/avni-server
Sync of entity approval status for encounter type and program should sync data linked to all subject types
- Dominant language
- Java
- Stars
- 22
- Forks
- 47
- PR merge metrics
- No merged PRs in 30d
Description
Analysis details:
Currently`fetchSubjectTypeForEntityNameAndUuid` used in EntityApprovalStatusController for getting entityApprovals, fetches only the first subject type linked to encounter type or program. This results in fetching entityApprovalStatus based on only the sync settings of the first subject type. This needs to be fixed.
Contributor guide
No contributing guide indexed for this repository
Research direction
Start by tracing fetchSubjectTypeForEntityNameAndUuid as used by EntityApprovalStatusController, then inspect how encounter types and programs link to subject types and how sync settings determine entity approvals. Done means approval status synchronization considers data linked to all relevant subject types rather than only the first one; no test or file path is named in the issue.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java, spring-boot
- Domain
- api, backend
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100