Details
-
Type:
Bug
-
Status: Verified
-
Priority:
Minor
-
Resolution: Fixed
-
Affects Version/s: 12.5, 19.0, 20.0
-
Component/s: Chat
-
Labels:None
-
19 status:Resolved
-
12 status:Resolved
-
Test Plan:
- Create or edit a room with empty open/close date
- See the server logs, it throws an error.
Description
If you try to create or edit a room with empty open/close date, it throws this error on the logs:
See attached log excerpt. Users don't notice anything, though.
ERROR [http-nio-20013-exec-10] org.sakaiproject.util.DateFormatterUtil.parseISODate Text '' could not be parsed at index 0 java.time.format.DateTimeParseException: Text '' could not be parsed at index 0 at java.time.format.DateTimeFormatter.parseResolved0(DateTimeFormatter.java:1949) at java.time.format.DateTimeFormatter.parse(DateTimeFormatter.java:1851) at java.time.LocalDateTime.parse(LocalDateTime.java:492) at org.sakaiproject.util.DateFormatterUtil.parseISODate(DateFormatterUtil.java:76) at org.sakaiproject.chat2.tool.ChatTool.processActionEditRoomSave(ChatTool.java:548)