Last modified: 2014-10-23 21:52:30 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T65025, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 63025 - VisualEditor: Trying to insert anything in the slug inside a media dialog box throws Uncaught Error: Offset could not be translated to a DOM element and offset: 63
VisualEditor: Trying to insert anything in the slug inside a media dialog box...
Status: VERIFIED FIXED
Product: VisualEditor
Classification: Unclassified
ContentEditable (Other open bugs)
unspecified
All All
: Normal normal
: VE-deploy-2014-10-16
Assigned To: Ed Sanders
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2014-03-24 19:21 UTC by Rummana Yasmeen
Modified: 2014-10-23 21:52 UTC (History)
6 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments
screenshot 1 (345.29 KB, image/png)
2014-03-24 19:21 UTC, Rummana Yasmeen
Details
screenshot 2 (237.79 KB, image/png)
2014-03-24 19:21 UTC, Rummana Yasmeen
Details

Description Rummana Yasmeen 2014-03-24 19:21:22 UTC
Created attachment 14892 [details]
screenshot 1

Steps to reproduce:

1.Go to the media settings of an image
2.Create a slug 
3.Try to insert a special character/link/reference in the slug


Observed Result:

It shows an error in the console: Uncaught Error: Offset could not be translated to a DOM element and offset: 63
Also if it is an inspector it goes all blank


See the screenshot attached

Test Environment: http://en.wikipedia.beta.wmflabs.org/
: Chrome Version 26.0.1410.65 
OS: MAC OS X 10. 8. 5 
Page:http://en.wikipedia.beta.wmflabs.org/wiki/24thMarchrome?veaction=edit
Comment 1 Rummana Yasmeen 2014-03-24 19:21:46 UTC
Created attachment 14893 [details]
screenshot 2
Comment 2 Rummana Yasmeen 2014-03-24 19:23:45 UTC
Try the first image on this page:http://en.wikipedia.beta.wmflabs.org/wiki/24thMarchrome?veaction=edit
Comment 3 James Forrester 2014-05-30 18:51:44 UTC
I believe/hope this is now fixed…
Comment 4 Ritu Swain 2014-10-08 17:30:18 UTC
This issue has resurfaced with error as "Uncaught Error: offset -1 out of bounds" when trying to insert a link/special character in a slug.
Comment 5 James Forrester 2014-10-08 20:17:22 UTC
That was bug 71825, now fixed.
Comment 6 Rummana Yasmeen 2014-10-08 22:21:27 UTC
Nope, this bug must have a different cause because it occurs in test2 and production as well.
Comment 7 James Forrester 2014-10-08 22:38:43 UTC
Huh. Darn.
Comment 8 Rummana Yasmeen 2014-10-15 23:20:39 UTC
This is now fixed with latest slug work I guess.
Comment 9 Rummana Yasmeen 2014-10-17 00:06:41 UTC
Verified the fix in test2
Comment 10 Rummana Yasmeen 2014-10-23 21:52:30 UTC
Verified the fix in production

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links