Page MenuHomePhabricator

VisualEditor: [Regression wmf 21] “Uncaught TypeError: Cannot read property 'top' of undefined” when Editor is launched
Closed, ResolvedPublic

Description

Environment- test2, beta

1> open VE, I get JS console error as “Uncaught TypeError: Cannot read property 'top' of undefined” in Chrome.

In FF the error is TypeError: rect is undefined


Version: unspecified
Severity: major
See Also:
https://bugzilla.wikimedia.org/show_bug.cgi?id=70782
https://bugzilla.wikimedia.org/show_bug.cgi?id=70768

Details

Reference
bz70770

Event Timeline

I can't reproduce this on test2. Does it happen when logged out as well?

(In reply to Roan Kattouw from comment #1)

I can't reproduce this on test2. Does it happen when logged out as well?

yes, it happens irrespective of my login status.

I can't reproduce this, neither logged in nor logged out, neither on test2 nor on beta labs, using Chrome.

RoanKattouw, Try opening a new page with VE, you will get this error.

(In reply to Rummana Yasmeen from comment #4)

RoanKattouw, Try opening a new page with VE, you will get this error.

Yup, that does the trick. Thanks.

gerritadmin wrote:

Change 160076 had a related patch set uploaded by Catrope:
ve.getStartAndEndRects returns null for empty rect lists

https://gerrit.wikimedia.org/r/160076

gerritadmin wrote:

Change 160076 merged by jenkins-bot:
ve.getStartAndEndRects returns null for empty rect lists

https://gerrit.wikimedia.org/r/160076

gerritadmin wrote:

Change 160082 had a related patch set uploaded by Jforrester:
ve.getStartAndEndRects returns null for empty rect lists

https://gerrit.wikimedia.org/r/160082

gerritadmin wrote:

Change 160082 merged by jenkins-bot:
ve.getStartAndEndRects returns null for empty rect lists

https://gerrit.wikimedia.org/r/160082