Page MenuHomePhabricator

setupSlugs is called twice during ContentBranchNode setup
Closed, ResolvedPublic8 Estimated Story Points

Description

While setting up a ContentBranchNode, there are two calls to setupSlugs: one from onSplice when the child nodes are first spliced in, and another one from renderContents when the contents are first rendered.

Event Timeline

Catrope raised the priority of this task from to Needs Triage.
Catrope updated the task description. (Show Details)
Catrope added subscribers: Catrope, dchan, ori.

Change 193787 had a related patch set uploaded (by Catrope):
[WIP] ce.ContentBranchNode: Prevent setupSlugs() from being called twice

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

Change 201205 had a related patch set uploaded (by Esanders):
[BREAKING CHANGE] Split setupSlugs in to setup(Block|Inline)Slugs

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

Change 201205 merged by jenkins-bot:
[BREAKING CHANGE] Split setupSlugs in to setup(Block|Inline)Slugs

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

Change 193787 abandoned by Catrope:
ce.ContentBranchNode: Prevent setupSlugs() from being called twice

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