Page MenuHomePhabricator

Bad query prevents edit to repair query when preferences are set to "Show preview on first edit"
Open, Needs TriagePublicBUG REPORT

Description

MW 1.36.2 Cargo 3.0 (5decb5b) 2021-12-09T10:06:57

I have a page that causes a database error. The user preference is set to "Show preview on first edit". When trying to edit that page, the page will not actually display the editable page document on a future edit, just that error, essentially making it impossible to fix the problem. (Well, impossible until or unless you figure out to disable the reference).

I was trying to recreate this problem on a different page to see how it got into that state, but the wiki would not let me save a page that generates a database error, instead stalling out with the URL at &action=submit. So, I suspect the query had been built and then something changed about the Cargo tables that broke the query after the fact? I am still trying to figure out what is actually broken about the query, but that may be out of scope of this bug report?