Page MenuHomePhabricator

Repeat "Error: No "data" parameter specified." error message output in wiki page when using incomplete {{#get_file_data:}} query
Closed, ResolvedPublicBUG REPORT

Description

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

  • Install and configure extension with default settings
  • Create/Edit a wikitext page with:
{{#get_file_data:
 file=data/json/data.json
 |format=TEXT
}}

Note: TEXT can be any valid format, such as CSV, JSON, etc.

What happens?:

Error: No "data" parameter specified.
Error: No "data" parameter specified.
File data/json/data.json is not defined.

What should have happened instead?:

Error: No "data" parameter specified.
File data/json/data.json is not defined.

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

Also I just now see that that ExtensionDistributor release is v2.4.1 from 11+ months ago as seen here: https://gerrit.wikimedia.org/r/plugins/gitiles/mediawiki/extensions/ExternalData/+log/refs/heads/master/extension.js

And I also just tested this bug with v3.1 (up-to-date master branch of git repo), and the issue still exists

Event Timeline

Jasonkhanlar updated the task description. (Show Details)
Jasonkhanlar updated the task description. (Show Details)

Change 788155 had a related patch set uploaded (by Alex Mashin; author: mashin):

[mediawiki/extensions/ExternalData@master] Guarantee that error messages do not repeat

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

Change 788155 merged by jenkins-bot:

[mediawiki/extensions/ExternalData@master] Guarantee that error messages do not repeat

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