-
Notifications
You must be signed in to change notification settings - Fork 22
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
App is crashing after clicking on individual of type student #1110
Comments
@AchalaBelokar whenever u can add the logs for these kind of crash issues, add them - we ll know the issue better |
"Log error content: This error is located at: |
looks like same error logs as of #1108 - might be duplicate - anyways need to be verified. |
No, this is a different issue not related to avniproject/avni-server#1108 Rather, it might be caused due to newly introduced AddressLevel.calculateLineage() method in avni-server repo |
The cause of this issue is that:
The fix for this, is to ensure that
|
@himeshr @mahalakshme lets discuss this during standup. There is no way for the person assigning to ever know that they cannot be assigned. This might need to be a rule we should enforce to prevent such errors. I am thinking of two things |
After discussion, we'll do the following fix in Product. During Subject assignment to a User:
Additionally, we'll be making suitable modifications in Prod implementations, to enable "Sync By Location" where-ever its not enabled, as that's a primary requirement in current version of Avni-client. |
Add check to ensure subject is within User's catchment during direct its assignment to the User
Minor refactoring of UserSubjectAssignmentServiceTest initialization
The check we have added, disallows sync of directly assignable "Member" subjectTypes that have different Fix:
We should not check for "Member" subjectTypes address is within the user's catchement. QA task:The "Direct subject assignment to User" for a GroupSubject should work, even when the GroupSubject RegistrationLocationType is higher than MemberSubject RegistrationLocationType |
Need not check for presence of memberSubject within the catchment while assigning groupSubjects to a user
We are not showing the error when the subject/group subject is assigned to an out of catchment user via checkbox selection and we are showing error only assigment done via Actions. This card released as part of 5.0.0 but we can fix this as part of 5.1.0 |
…ubjectDirectAssignment Multi-select box
Attached screenshot of error being surfaced when subject/group subject is assigned to an out of catchment user via checkbox selection. Screen.Recording.2023-10-20.at.11.20.56.AM.mov |
I've put a comment on the code, but it is non-blocking, moving this story to qa ready. |
Describe the bug
After login select subject type student
Click on any student
Login Id : utkarsh@lahi
To Reproduce
1.login with utkarsh@lahi
2. click n search
3. click on student subject type
4. click on any student
Expected behavior
user is able to see the student details
Screenshots
az_recorder_20230926_132538.1.mp4
The text was updated successfully, but these errors were encountered: