Page MenuHomePhabricator

Values don't update before clicking Run function
Closed, ResolvedPublicBUG REPORT

Description

Steps to replicate the issue (include links if applicable):

What happens?:
The answer "0" is returned

What should have happened instead?:
The answer should be "9"

Software version (skip for WMF-hosted wikis like Wikipedia):

Other information (browser name/version, screenshots, etc.):
Guess is that the parser isn't being run because we still have focus on the field in right, and we are sending the default value 0, calciulating 3x0 instead of 3x3.

I can avoid it by clicking anywhere else, wait a second or two, and then click on "Run function"

Event Timeline

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

[mediawiki/extensions/WikiLambda@master] Add debounce to Run Function and Publish actions

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

Mcastro triaged this task as High priority.Mar 14 2024, 4:59 PM
Mcastro moved this task from To triage to Backlog on the Abstract Wikipedia team board.
Jdforrester-WMF changed the task status from Open to In Progress.Mar 15 2024, 7:55 PM
Jdforrester-WMF moved this task from Backlog to To deploy on the Abstract Wikipedia team board.

Change 1010904 merged by jenkins-bot:

[mediawiki/extensions/WikiLambda@master] Wait for running parsers to be resolved before Run Function or Publish actions

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