PauloV
July 21, 2025, 11:17pm
1
Hi! I’ve encontered an issue in the authoring MFE when using Safari, and couldn’t find any open discussion about it.
Steps to reproduce:
Go to the studio cms
Choose a course
Go to “Content > Updates”
Click on “New update”
Error appears
The error is only happening on Safari .
Screen error:
Unexpected Application Error!
Invalid time value
Console logs:
React Router caught the following error during render
Range error: Invalid time value - hooks.tsx:632
Has anyone else encountered similar issues with Safari?
Thanks in advance for the support.
I don’t know this for a fact, and I don’t have access to an OSX device to test, but my guess is it’s something to do with the date formatting. apparently Safari is quite strict about following ISO-8601 date formats so my guess is it’s something to do with the code here: frontend-app-authoring/src/course-updates/hooks.jsx at 8e3ea89339e4ab6258c01f8e92436ee5dc055889 · openedx/frontend-app-authoring · GitHub which is formatting the date as ‘MMMM D, YYYY’ from frontend-app-authoring/src/constants.js at 8e3ea89339e4ab6258c01f8e92436ee5dc055889 · openedx/frontend-app-authoring · GitHub
This might be an interoperability bug, but I’m unable to verify for sure. @braden do you have any thoughts on this?
sarina
(Sarina Canelake)
July 22, 2025, 2:27pm
3
Hi @PauloV and welcome to the community
What version of Tutor/the site are you running? Does it work in any other browser such as Chrome or Firefox?
PauloV
July 22, 2025, 3:57pm
4
Hi @sarina , thanks!
I am running tutor version 20.0.0. It works on both Chrome and Firefox.
sarina
(Sarina Canelake)
July 22, 2025, 4:36pm
5
@PauloV thanks for confirming! I suspect what @joel.edwards mentions is the bug.
braden
(Braden MacDonald (OpenCraft) - opencraft.com/help)
July 22, 2025, 8:56pm
6
@PauloV or @joel.edwards would you mind opening a bug ticket on https://github.com/openedx/frontend-app-authoring/issues and ping me there? I can look into it, or if someone else wants to take it on I’m happy to review.
braden
(Braden MacDonald (OpenCraft) - opencraft.com/help)
July 23, 2025, 5:58pm
8
Thanks @joel.edwards . I have confirmed the bug and put details onto the issue. If anyone has time to work on a fix, I’d be happy to review it, including testing in Safari.