-
-
Notifications
You must be signed in to change notification settings - Fork 5.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
TypeError: undefined is not an object (evaluating '_i18n.textEdited') #24770
Comments
Do you mean that, if a user sees the error, then they refresh page, then the refreshed page doesn't have the error? |
I think I know the problem now. Will propose a fix later (at most 1 day). |
When users encounter that error message, it closes their session, and they have to log in again. Then, while browsing the repositories, it may or may not appear. It seems to be quite random. When the same user tries it with Chrome, it works without any issues. |
Oh .... if the user gets kicked-out, then that's another problem. I think it has been fixed by #24330 The related issue is #24176 , there are more details. The fix is only in 1.20 (you can try nightly), According to my test, disabling Safari's "prevent cross-site tracking" could help. I can try to send a partial backport to 1.19 |
-> Fix safari cookie session bug #24772 I am not 100% sure but it looks like that's the problem (the user's session is closed after some time) |
On our side, we can try upgrading to version 1.20 over the weekend, and once it's done, test again to see if the issue is solved. |
Same problem here. |
It could be another problem IMO. This issue about "user randomly gets logged out". |
Partically backport go-gitea#24330 Related: go-gitea#24176 Maybe fix go-gitea#24770 (cherry picked from commit 64cc691)
I think this issue could be closed since #24772 has been backported to 1.19 nightly. Feel free to reopen if there is any other problem. |
Is this fixed in 1.20.0. I upgrade this version, but still get the same errors
I have safari The same problem on my iPhone. |
Could you try to clear your web browser cache? |
Description
Some users are reporting that in the Gitea console, they are being shown the following error message:
JavaScript error: TypeError: undefined is not an object (evaluating '_i18n.textEdited') (https://git.cloudvalley.telecom.com.ar/assets/js/index.js?v=1.19.3 @ 54:663).
Open browser console to see more details.
Screenshot attached.
This happens randomly and from what we've observed, it mainly occurs with users using the Safari browser. We have checked the server and Gitea logs but haven't found any relevant error messages.
Users experiencing this issue also report that their user session is being closed, preventing them from working normally.
Gitea Version
1.19.3
Can you reproduce the bug on the Gitea demo site?
No
Log Gist
No response
Screenshots
Git Version
2.31.1
Operating System
Linux
How are you running Gitea?
We are running Gitea from the binary available at https://dl.gitea.com/gitea/1.19.3/gitea-1.19.3-linux-amd64 on a virtual server.
Database
MySQL
The text was updated successfully, but these errors were encountered: