Page MenuHomePhabricator

Uncaught TypeError: Cannot read property 'getSession' of undefined jquery.codeEditor.js:521
Closed, ResolvedPublic

Description

Steps to reproduce:

  • Load a page with enabled CodeEditor in debug mode.
  • Make three fast clicks to the enable/disable button.
  • In the JavaScript console occurs:

Uncaught TypeError: Cannot read property 'getSession' of undefined jquery.codeEditor.js:521

Reproduced in Firefox and Chrome with debug mode enabled and disabled.

Details

Related Gerrit Patches:
mediawiki/extensions/CodeEditor : masterAvoid accessing undefined context

Event Timeline

Fomafix created this task.Nov 30 2015, 12:39 PM
Fomafix raised the priority of this task from to Low.
Fomafix updated the task description. (Show Details)
Fomafix added a project: CodeEditor.
Fomafix added a subscriber: Fomafix.
Restricted Application added a subscriber: Aklapper. · View Herald TranscriptNov 30 2015, 12:39 PM
Fomafix claimed this task.Nov 30 2015, 12:48 PM

Change 255987 had a related patch set uploaded (by Gerrit Patch Uploader):
Avoid accessing undefined context

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

Change 255987 merged by jenkins-bot:
Avoid accessing undefined context

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

Fomafix closed this task as Resolved.Nov 30 2015, 3:54 PM
Fomafix removed a project: Patch-For-Review.
Fomafix set Security to None.