Page MenuHomePhabricator

After removing a category, editing category sortkeys no longer works
Closed, ResolvedPublic

Description

After removing a category, editing category sortkeys no longer works.

Steps to reproduce:

  1. Edit a page using VisualEditor
  2. Open Options → Categories dialog
  3. Click a category, then the trashcan to remove it (if there are no categories, add one first, then remove it)
  4. Click another category, then try to change its sort key (if there are no categories, add one first)

Expected: after closing the popup, the sort key is saved. Actual: after closing the popup, the sort key is lost.

Event Timeline

Restricted Application added a subscriber: Aklapper. · View Herald Transcript

Change 470670 had a related patch set uploaded (by Bartosz Dziewoński; owner: Bartosz Dziewoński):
[mediawiki/extensions/VisualEditor@master] ve.ui.MWCategoryPopupWidget: Clear state after closing the popup

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

Change 470670 merged by jenkins-bot:
[mediawiki/extensions/VisualEditor@master] ve.ui.MWCategoryPopupWidget: Clear state after closing the popup

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