Page MenuHomePhabricator

Regression: JS actions are broken after page redirect
Closed, ResolvedPublic1 Story Points

Description

When there is page redirect some JS actions stops working - instead of showing dynamic content it redirects to new page.

How to reproduce: Go to https://en.m.wikipedia.org/wiki/MainPage. It redirects you https://en.m.wikipedia.org/wiki/Main_Page

  • WebConsole contains error :
Exception in module-execute in module skins.minerva.scripts:
 TypeError: Cannot read property 'newFromText' of undefined TypeError: Cannot read property 'newFromText' of undefined(…)

Exception in module-execute in module skins.minerva.tablet.scripts:
TypeError: M.getCurrentPage is not a function TypeError: M.getCurrentPage is not a function

Event Timeline

pmiazga created this task.Nov 23 2016, 8:42 PM
Restricted Application added a subscriber: Aklapper. · View Herald TranscriptNov 23 2016, 8:42 PM
Jdlrobson triaged this task as Normal priority.Nov 24 2016, 6:34 PM
Jdlrobson added a project: Regression.
ovasileva set the point value for this task to 1.Nov 24 2016, 6:34 PM

Change 323647 had a related patch set uploaded (by Phuedx):
Always declare dependencies

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

phuedx renamed this task from JS actions are broken after page redirect to Regression: JS actions are broken after page redirect.Nov 26 2016, 5:06 AM

Change 323647 merged by jenkins-bot:
Always declare dependencies

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