Last modified: 2014-10-29 23:50:45 UTC
Created attachment 16818 [details] JS errors in test2 Environment- test2, beta 1>In VE, insert a media(with any settings but no content in "Caption") to blank page. 2> Highlight the image and select link from the toolbar.JS Error- Uncaught TypeError: Cannot read property 'from' of null Uncaught TypeError: Cannot read property 'resolve' of null Uncaught TypeError: Cannot read property 'from' of null at this point.The inspector stays open and clicking on Remove or done does not close it.See screenshot. In beta, the JS error(following the above steps) is - Uncaught TypeError: Cannot read property 'from' of null.
Change 168021 had a related patch set uploaded by Jforrester: Prevent JS error in getNativeRange() https://gerrit.wikimedia.org/r/168021
Change 168021 merged by jenkins-bot: Prevent JS error in getNativeRange() https://gerrit.wikimedia.org/r/168021
verified the fix in beta.
Verified in test2(wmf5) - FF, Chrome are fine. Safari does not display Language and Link inspectors.
Verified the fix in production.