Last modified: 2014-03-14 00:00:22 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 T64022, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 62022 - VisualEditor: Getting "Uncaught TypeError: Cannot call method 'getOffset' of null" error when I open a page that contains a bullet list with floated content
VisualEditor: Getting "Uncaught TypeError: Cannot call method 'getOffset' of ...
Status: RESOLVED FIXED
Product: VisualEditor
Classification: Unclassified
ContentEditable (Other open bugs)
unspecified
All All
: Normal normal
: VE-deploy-2014-03-06
Assigned To: Ed Sanders
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2014-02-27 22:00 UTC by Rummana Yasmeen
Modified: 2014-03-14 00:00 UTC (History)
8 users (show)

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


Attachments
Screenshot (189.19 KB, image/png)
2014-02-27 22:00 UTC, Rummana Yasmeen
Details

Description Rummana Yasmeen 2014-02-27 22:00:26 UTC
Created attachment 14707 [details]
Screenshot

Steps to reproduce:

1.Create a page with VE
2.Add a bullet list
3.Add an image as a bulleted item of that list (
4.Save the page
5.Reopen the editor

Observed Result:
As soon as I open the page I get the error:
 "Uncaught TypeError: Cannot call method 'getOffset' of null"

And then clicking on Bullet list icon again does not un-bullet the list
Also, every time I switch to this page from other window/page it shows this error again and again. 



Test Environment: http://en.wikipedia.beta.wmflabs.org/
Browser: Chrome Version 26.0.1410.65 & FF 25
OS: MAC OS X 10. 8. 5 
Page:http://en.wikipedia.beta.wmflabs.org/wiki/27thfebchrome?veaction=edit
Comment 1 Gerrit Notification Bot 2014-02-28 23:11:53 UTC
Change 116172 had a related patch set uploaded by Esanders:
Don't allow getNearestCorrectOffset to return -1

https://gerrit.wikimedia.org/r/116172
Comment 2 Gerrit Notification Bot 2014-02-28 23:56:39 UTC
Change 116172 merged by jenkins-bot:
Don't allow getNearestCorrectOffset to return -1

https://gerrit.wikimedia.org/r/116172
Comment 3 Rummana Yasmeen 2014-03-03 23:11:46 UTC
Verified the fix in betalabs
Comment 4 Rummana Yasmeen 2014-03-07 22:14:36 UTC
verified the fix in test2
Comment 5 Rummana Yasmeen 2014-03-14 00:00:22 UTC
Verified the fix in production:https://en.wikipedia.org/w/index.php?title=User:RYasmeen_%28WMF%29/sandbox&veaction=edit

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


Navigation
Links