Page MenuHomePhabricator

Tester component: When a target change event happens and the new return Type doesn't have a validator set, clear the selected validator function rather than leaving in the last value
Closed, ResolvedPublicBUG REPORT

Description

Description

On initialization of the ZTester component, we:

  • set the call with a blank function call to the function in Z20K1
  • get the return type of the function
  • get the equality function of that type
  • set the validator call with a blank function to the equality function

If the equality function is not there, we leave the previous value, but we should probably just clear the field to highlight that the user needs to configure something by hand.


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

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

Completion checklist

Event Timeline

Change #1015279 had a related patch set uploaded (by Genoveva Galarza; author: Genoveva Galarza):

[mediawiki/extensions/WikiLambda@master] Clear ZTest validator when call output type doesn't have equality

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

Jdforrester-WMF changed the task status from Open to In Progress.Mar 28 2024, 10:53 AM
Jdforrester-WMF moved this task from To triage to To deploy on the Abstract Wikipedia team board.

Change #1015279 merged by jenkins-bot:

[mediawiki/extensions/WikiLambda@master] Clear ZTest validator when call output type doesn't have equality

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

Jdforrester-WMF changed the subtype of this task from "Task" to "Bug Report".