Page MenuHomePhabricator

Unable to edit any Phriction documents
Closed, ResolvedPublic

Description

After upgrading to 95df771, we can no longer seem to edit any Phriction documents. The "Edit Document" link appears, but when clicking edit a 404 is shown.

Event Timeline

hach-que assigned this task to epriestley.
hach-que raised the priority of this task from to Needs Triage.
hach-que updated the task description. (Show Details)
hach-que added a project: Phriction.
hach-que added a subscriber: hach-que.

For some weird reason, the behaviour is:

  • When editing a top level document with no children, I get a 404.
  • When editing a top level document with children, I get the edit page of the first child.

I am not able to repro at HEAD. Can you update and report back?

99bcf06 fixed a number of Phriction queries

Won't be able to re-upgrade and test that commit for another 10 hours or so as we're in the middle of migrating Harbormaster build logs for the utf8mb process (I moved the table and wrote a script to migrate the logs while Phabricator is online). Will try tomorrow.

Yeah, I suspect this is fixed at HEAD.

We were accidentally selecting all columns from a JOIN, but some were ambiguous, so we'd get back a Document which had its id field populated with the id from the wrong table in some cases. Then "Edit" would point at a meaningless (404 or unrelated) ID.

btrahan added a subscriber: btrahan.

This is most definitely fixed at HEAD. Please do let us know if thats not working for you.