After updating from Openfire 4.7.5 to 4.9.0 we do not receive session destroyed events any more. It seems that this event is not triggered any more.
Since we monitor this event using a plugin for further processing we would urgently need this functionality.
It seems that functionality got lost with OF-2824.
Looking at the code of module RoutingTableImpl.java and function removeClientRoute it seems that sessionRemoved variable will always have the value false.
Hi Crabby, thanks for reporting this. I think you’re right in your analysis. I’ve created OF-2898 to track this issue.
Hi Guus, thanks a lot for picking this up and creating a ticket.
A fix for this problem is being worked on here: OF-2898: Restore SessionDestroyed event by guusdk · Pull Request #2577 · igniterealtime/Openfire · GitHub
@crabby73 can you review and test the proposed fix please?
Hi Guus, we will review and try to test it.
Hi @guus , we have reviewed and tested the proposed fix. It looks like as it fixes the issue. Thanks a lot.
Thanks for that, @crabby73 ! You can expect this fix to pop up in a new Openfire release shortly.
Openfire 4.9.1, that contains the fix for this problem, has now been released! Please upgrade and let us know if that fixes your problem once and for all!