Page MenuHomePhabricator

fetchZkeys resolve the incorrect promise
Closed, ResolvedPublicBUG REPORT

Description

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

  • go to http://localhost:8080/wiki/Special:CreateZObject?zid=Z14&Z14K1=Z10030&view=zobject-editor

What happens?:

  • the implementation loaded does not always have the function pre-loaded

What should have happened instead?:

  • the function should always be pre-set
NOTE: the fetchZKeys is resolving all the promises in the loop therefore returning the promise too early.

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

Event Timeline

Change 780809 had a related patch set uploaded (by Simone Cuomo; author: Simone Cuomo):

[mediawiki/extensions/WikiLambda@master] fetchZkeys resolve the incorrect promise

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

Change 780809 merged by jenkins-bot:

[mediawiki/extensions/WikiLambda@master] fetchZkeys resolve the incorrect promise

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

Change 784757 had a related patch set uploaded (by Simone Cuomo; author: Simone Cuomo):

[mediawiki/extensions/WikiLambda@master] Fix multiple promises issue

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

Change 784757 merged by jenkins-bot:

[mediawiki/extensions/WikiLambda@master] Fix multiple promises issue

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