CMPUT301W16T15 / Shareo

Group Project Android App
MIT License
3 stars 0 forks source link

Deleting a Thing sometimes causes User to be deleted #17

Closed 0x4849a closed 8 years ago

0x4849a commented 8 years ago

I think I tested this with making a new account, then making one thing and deleting it. You can't make a new user with the same name, but you can't login with that user either. I've noticed this bug appearing with deleting bids as well(perhaps only if you delete the same bid twice?)..

Note that the deletion uses : mThing.new Deleter().delete(); as that's the only way to delete something inside of thing.

Bradshawz commented 8 years ago

It probably isn't deleting the user, but right now any error while loading a user will tell you the user doesn't exist (probably shouldn't, but really there shouldn't be any errors while loading user information). I image somethings going on where a user still holds onto an id of a deleted game. Could either retroactively fix errors(game doesn't exist, ignore and delete id and move on) but ideally should find the root cause.

Bradshawz commented 8 years ago

Owner wasn't updating itself online. Fixed.