Page MenuHomePhabricator

Cannot edit value type on a user-defined type
Closed, ResolvedPublicBUG REPORT


List of steps to reproduce (step by step, including full links if applicable):

  • I created a type with a key and a value type, e.g. string
  • I click Edit on the type and try to change the value type on the key

What happens?:
I get a drop down field, I click on the drop down, I get one field that says "Search for reference", but when I type something in, it doesn't find anything. I cannot enter the whole name and select. I cannot enter a ZID and select.

What should have happened instead?:
I should be able to change the type

Workaround: I can switch it into "gen" mode and then choose a type and a reference and search for the type.

Software version (if not a Wikimedia wiki), browser information, screenshots, other information, etc.:

Event Timeline

JKieserman changed the task status from Open to In Progress.Feb 23 2022, 3:56 PM
JKieserman claimed this task.

Change 765583 had a related patch set uploaded (by Jkieserman; author: Jkieserman):

[mediawiki/extensions/WikiLambda@master] search for types in ZReference component

Change 765583 merged by jenkins-bot:

[mediawiki/extensions/WikiLambda@master] update logic for determining the literal type for type creation