Page MenuHomePhabricator

Fix showing error to user
Closed, ResolvedPublic

Description

If someone does:

{{#cargo_compound_query:
|tables=Events;fields=Name=name,StartDate=start,EndDate=end
|format=calendar
}}

and the table Events does not exist, then the user receives a exception in the UI making it impossible for them to change it/fix it. This should be fix to show that the table doesn't exist without throwing.

Event Timeline

Change 640486 had a related patch set uploaded (by Yaron Koren; owner: Yaron Koren):
[mediawiki/extensions/Cargo@master] Add error handling for bad values in #cargo_compound_query

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

Change 640486 merged by Yaron Koren:
[mediawiki/extensions/Cargo@master] Add error handling for bad values in #cargo_compound_query

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

Yaron_Koren claimed this task.

I think this is fixed now.