Page MenuHomePhabricator

Mobile Visual Editor on iOS has a suppressed error after saving
Closed, ResolvedPublic

Description

Edit an article on mobile on iOS, then save it. After the save this will be in the console:

VM32 jquery.js:3819 jQuery.Deferred exception: Cannot read property 'getView' of null TypeError: Cannot read property 'getView' of null
    at VeInitMwMobileArticleTarget.ve.init.mw.MobileArticleTarget.onSurfaceScroll (http://dev.wiki.local.wmftest.net:8080/w/extensions/VisualEditor/modules/ve-mw/init/targets/ve.init.mw.MobileArticleTarget.js?215d9:249:38)
    at VeUiMWSurface.oo.EventEmitter.emit (http://dev.wiki.local.wmftest.net:8080/w/resources/lib/oojs/oojs.jquery.js?b1631:824:12)
    at http://dev.wiki.local.wmftest.net:8080/w/extensions/VisualEditor/lib/ve/src/ui/ve.ui.Surface.js?afd47:560:12
    at mightThrow (http://dev.wiki.local.wmftest.net:8080/w/resources/lib/jquery/jquery.js?6fb03:3535:29)
    at process (http://dev.wiki.local.wmftest.net:8080/w/resources/lib/jquery/jquery.js?6fb03:3603:12) undefined

Details

Related Gerrit Patches:

Event Timeline

DLynch created this task.Sep 9 2019, 2:51 PM
Restricted Application added a subscriber: Aklapper. · View Herald TranscriptSep 9 2019, 2:51 PM

Change 535207 had a related patch set uploaded (by DLynch; owner: DLynch):
[mediawiki/extensions/VisualEditor@master] MobileArticleTarget: don't access the surface after it's destroyed

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

Change 535207 merged by jenkins-bot:
[mediawiki/extensions/VisualEditor@master] MobileArticleTarget: don't access the surface after it's destroyed

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

matmarex moved this task from Inbox to Low Priority on the Editing QA board.Sep 9 2019, 10:57 PM
Ryasmeen edited projects, added Verified; removed Editing QA.
ppelberg closed this task as Resolved.Oct 22 2019, 12:43 AM