#636  Js error when insert an image by upload
Closed
topmax opened 2 years ago

when I report issue #635, I found clicking the insert button is unresponsive, then found these errors in the console. close the upload window and reinsert it will succeed and still print the 694.js:2 Uncaught TypeError: Cannot read properties of undefined (reading 'charAt').

bug1.jpg

Robin Shen commented 2 years ago

Please let me know the OS/browser.

Robin Shen commented 2 years ago

Looks like that your browser blocks many JavaScripts from OneDev complaining for cross-origin iframe access, which does not exist actually.

topmax commented 2 years ago

MS Edge 99.0.1150.39

Robin Shen commented 2 years ago

Tried Edge with enhanced security and it works without any issue. Is this happening all the time when you create issue (you may add a test project to create some test issue to verify)? Will work if turn off enhanced security?

Robin Shen changed state to 'Closed' 2 years ago
Previous Value Current Value
Open
Closed
Robin Shen commented 2 years ago

Can not reproduce. Feel free to reopen if there are more info.

topmax commented 2 years ago

Sorry for reply late, I fount that it may caused by a plugin

Kapture 2022-03-23 at 11.17.52.gif

Robin Shen commented 2 years ago

Thanks!

issue 1 of 1
Type
Bug
Priority
Normal
Assignee
Affected Versions
Not Found
Issue Votes (0)
Watchers (4)
Reference
onedev/server#636
Please wait...
Page is in error, reload to recover