-
Notifications
You must be signed in to change notification settings - Fork 44
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
Child list doesn't display after selecting child photo #332
Comments
It seems that after doing this for any child that isn't the first, when navigating back it may lose just the 2nd one in the list, which may or may not be the one selected and had the photo added to. |
The problem seems to appear after this line. For a Childprofilelist of n items in Model, after this line Model has n-1 items and is missing the 2nd item that was in that list. |
This is still happening on both iOS and Android. |
same visual bug reproducible by deleting a child list item. child 2 gets visually removed but fixes itself by exiting to main menu and returning to children list. not strictly an issue with images |
I think we'd see more than just the 2nd in the list go missing if the Child list was longer when we take an action that repros this (adding a photo to one of the Child entities, etc.) |
What seems to be happening here is a bit complex. It's reproduced in the unit test as part of PR #357 . After adding the photo and navigating back to the previous page,
Ultimately (without going into more detail about the rest of the graph merge method) we end up with a |
Alter unit test to reproduce merge graph problem seen in issue #332
After adding a photo to a child that is not the first child in the child list, back out to the child list and it is blank (on iOS at least).
Exit to main menu, go back to child list and the children are listed.
The text was updated successfully, but these errors were encountered: