Page MenuHomePhabricator

Community-defined validation functions are no longer working
Closed, ResolvedPublicBUG REPORT

Description

Description

Steps to reproduce (step by step instructions, with links, commands and necessary data to reproduce the error)

  1. bring up the MW stack locally using docker-compose
  2. in a browser, navigate to http://localhost:8080/wiki/Special:ApiSandbox
  3. run the test called "Invoke user-defined validation function implemented in Python."

Observed behavior

  • there is no error; the input object is returned intact

Expected behavior/Acceptance criteria (returned value, expected error, performance expectations, etc.)

  • there should be an error

Completion checklist

Event Timeline

cmassaro changed the task status from Open to In Progress.Jan 22 2024, 7:28 PM
cmassaro moved this task from Backlog to In Progress on the Abstract Wikipedia team board.

Change 995057 had a related patch set uploaded (by Jforrester; author: Cory Massaro):

[mediawiki/extensions/WikiLambda@master] Re-enable validation in the API; re-enable the corresponding test.

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

Change 995057 merged by jenkins-bot:

[mediawiki/extensions/WikiLambda@master] Re-enable validation in the API; re-enable the corresponding test.

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

Change 1002624 had a related patch set uploaded (by Jforrester; author: Jforrester):

[operations/deployment-charts@master] wikifunctions: Upgrade orchestrator from 2024-01-18-182456 to 2024-02-12-155846

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

Change 1002624 merged by jenkins-bot:

[operations/deployment-charts@master] wikifunctions: Upgrade orchestrator from 2024-01-18-182456 to 2024-02-12-155846

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