Open SkyGanfor opened 4 years ago
@shlusiak do you have idea about this?
@L3K0V I haven't had a look yet, but from the stack track I wouldn't be surprised if we are iterating over a HashMap
's keys without copying the keys first, before we make any modifications to the Map.
@shlusiak can we consider this as closed from your perspective, and if still occurs to open this again?
I think the place I fixed this is different though. I'd not be convinced that this is fixed, but I'd be happy to see if the requester can confirm that this is still happening with the latest version that has all my fixes merged in.
Sadly I am no longer working on this project, so I'm not able to confirm if this has been fixed.
Hi, I noticed a possible bug in ParseRelations when trying to add or remove an object from a relation. I've found the crash consistently happening when preforming the following:
1: add an object to the relation. 2: add a different object to the same relation. 3: removing the first object from the relation.
Most of the time i get a crash first try, sometimes it doesn't but performing the same list of actions repeatedly will cause it eventually. Here is the full crash:
My Android app currently allows an admin user to set permissions for other users, and they do this using a check boxes to allow or deny a user from reading or writing objects. I use a ParseRole and add the users to the "users" ParseRelation.
The admin users are shown a RecyclerView that holds a list of users and a check boxes allowing them to be given permission to read and write. The RecyclerViewAdapter holds a reference to the user ParseRelation for read and write, and the user is added or removed when the checkbox value changes. (Below is the a picture of the UI and my snippet of RecyclerViewAdapter code)
Any help or feedback is appreciated! In the meantime, i've moved over my ParseRelation logic to Cloud Code as a temporary solution to the problem.