Page MenuHomePhabricator

Alias Labels: Deleting all, then attempting to add an alias fails
Closed, ResolvedPublicBUG REPORT

Description

Description

Steps to reproduce:

  1. Go to https://wikifunctions.beta.wmflabs.org/wiki/Special:CreateZObject
  2. Add a new alias label
  3. Delete the alias label (so there are none)
  4. Click ' + add alias'

(Note: This is the same behavior for existing zobjects if you delete all alias labels and try to add another)

Observed behavior:

  1. See that you do not receive an alias input box when you try to re-add an alias.
  2. The zobject tree adds a whole new Z31 object every time you click 'add alias'.
  • ...

Expected behavior (Acceptance criteria):
The behavior should be the same as from the start - you should receive an input box when you click 'add alias', and the zobject tree should add new labels to the Z31K2 list.

  • ...

Devices and Design (URLs or screenshots, if applicable):

  • Desktop: ...
  • Small screens/mobile: ...

Completion checklist

Event Timeline

Change 872966 had a related patch set uploaded (by Dani DW; author: Dani DW):

[mediawiki/extensions/WikiLambda@master] Fix deleting then re-adding alias labels.

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

Change 872966 merged by jenkins-bot:

[mediawiki/extensions/WikiLambda@master] Fix deleting then re-adding alias labels.

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