Page MenuHomePhabricator

ZTester: A function other than Z20K1 can be selected for Z20K2.Z7K1
Open, Needs TriagePublicBUG REPORT

Description

Description

Steps to reproduce:

  1. Go to https://wikifunctions.beta.wmflabs.org/w/index.php?title=Special:CreateZObject&zid=Z20&Z20K1=Z801, or any other page for creating a Tester.

Observed behavior:

  • The UI allows the user to select any function for Z20K2.Z7K1 (in UI: "call:" -> "function:")
  • If a function other than Z20K1 is chosen, the PHP layer will overwrite it to be Z20K1, and attempt to execute Z20K2 with arguments that do not match the function. This will lead to a failure, or unexpected results.

Expected behavior (Acceptance criteria):

  • The UI keeps Z20K2.Z7K1 in sync with Z20K1.
  • Or, alternatively: the manipulation in the PHP layer is removed.

Completion checklist

Event Timeline

Per Denny, we'll want to think about the design of the Tester editing interface, but not before launch.