avniproject / avniproject/avni-server
Automate Individual Relationships if there is person type subject
Nobody has claimed this yet.
- Dominant language
- Java
- Stars
- 22
- Forks
- 48
- PR merge metrics
- No merged PRs in 30d
Description
**Describe the bug**
when we create a Person type SubjectType , the individual relationships and the relationship type should be automatically created if not already present.
[individualRelation.json](https://github.com/user-attachments/files/26341337/individualRelation.json)
[relationshipType.json](https://github.com/user-attachments/files/26341338/relationshipType.json)
**To Reproduce**
Steps to reproduce the behavior:
1. Go to subject type
2. Click on add new subject type
3. Select the type as person and add a new person
4. The relationship type , individual relationships , will now be visible
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the subject-type flow described in the issue: create a new subject type with type Person and observe the relationship type and individual relationships. Trace the backend path that handles subject-type creation, then verify that the expected relationship records are created when they are absent, using the attached JSON files as reference.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java, spring-boot
- Domain
- api, backend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 52/100