Openfire Version: 4.9.2
Summary: If you create a chatroom through the REST API and add the “roomName” field to the CURL command, but forget to fill something in for “roomName”, the chatroom will be created. However, you will be unable to edit/delete said chat room through the admin portal or REST API. This also causes an issue within Spark, which states “SEVERE: Unable to retrieve list of rooms”.
Verbose Explanation: Attempted to create chat room via REST API with the following CURL command:
The chat room was successfully created, even without “roomName” being filled. However, within the admin portal (Group Chat → Room Administration → Room Summary) “Room” shows “Testname ()”. The “Testname” part is expected, but “()” is not:
- Admin Portal: Trying to edit/delete this chat room causes an exception.
- REST API: Trying to edit/delete this chat room does not work because it cannot find the chat room (it searches for the room based on the “roomName”, which is empty).
This also causes a huge issue within Spark. No chat rooms are displayed. I checked the logs and was presented with this:
The following is the exception that is thrown when within the admin portal and attempting to edit/delete said chat room:
Thank you for reading. Please help