NPE when admin deletes logged in owner from members-only room
When admin deletes a currently-logged in owner from a members-only room's owner list (via Admin console), the result is this NPE:
The owner is deleted, so the NPE is more of a nuisance.
this issue was fixed by CSH, closing. Can reopen if others disagree
@csh, sorry, I didn't notice your commit prior to my building. Anyway, I built fresh this morning and removing an admin from the admin console works as expected. The user was not booted from the room, but that would be a different issue than this one.
Yes, I noticed this too after doing https://github.com/igniterealtime/Openfire/commit/36d45788598e94b06c20c507352d3f6d9de2ee4d
I have solved this with https://github.com/igniterealtime/Openfire/commit/1651423c29c60add05d2738147a9b960f6de8129
You probably don't have this commit or you have do rebuild or something.
@csh , when I attempt this with trunk, nothing happens. The room owner remains in the ACL eventhough the console UI indicates "User removed successfully." No exceptions are logged.
Daryl, would you test this again with the latest trunk version?
I can't reproduce this. Furthermore affiliation changes are now managed by IQAdminHandler.
I only see a NotAllowedException in the logs (), if the logged in user has also joined the room.