Page MenuHomePhabricator

[betalabs] Re-open a topic from History - JS error "Could not find .flow-board"
Closed, ResolvedPublic

Description

  1. Resolve a topic
  2. Go to 'View history' - click on reopen.

The following error is displayed.

mw.flow.debug.FlowComponent.debug
flowBoardComponentReinitializeContainer
FlowBoardComponent
_RecursiveConstructor
initFlowComponent
mw.flow.Initializer.initOldComponent

Notes:

  • JS error is displayed only when a topic is reopen from History; reopening a topic from the topic page(permalink) or from a Flow board does not display any errors
  • a topic will be reopen - no loss of functionality

Event Timeline

Etonkovidova raised the priority of this task from to Needs Triage.
Etonkovidova updated the task description. (Show Details)
Etonkovidova subscribed.

Change 258073 had a related patch set uploaded (by Mooeypoo):
Wrap topic lock/unlock standalone instance with flow-board div

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

Change 258073 merged by jenkins-bot:
Wrap topic lock/unlock standalone instance with flow-board div

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

Checked in betalabs - no JS errors upon reopening resolved topics.

Catrope subscribed.