Page MenuHomePhabricator

Namespace all column references in ProjectQuery to fix ambiguity with Ferret constraints
ClosedPublic

Authored by epriestley on Aug 15 2019, 7:02 PM.
Tags
None
Referenced Files
Unknown Object (File)
Tue, Nov 5, 3:30 AM
Unknown Object (File)
Oct 18 2024, 5:04 AM
Unknown Object (File)
Oct 15 2024, 2:59 PM
Unknown Object (File)
Oct 9 2024, 12:35 PM
Unknown Object (File)
Sep 6 2024, 6:37 AM
Unknown Object (File)
Sep 6 2024, 6:37 AM
Unknown Object (File)
Sep 6 2024, 6:37 AM
Unknown Object (File)
Sep 2 2024, 9:07 AM
Subscribers
None

Details

Summary

Fixes T13378. If we join Ferret tables and page, we can end up with an ambiguous id column here.

Explicitly refer to "project.x" in all cases that we're interacting with the project table.

Test Plan
  • Changed page size to 3.
  • Issued a Projects query for "~e", matching more than 3 results.
  • Clicked "Next Page".
    • Before: ambiguous id column fatal.
    • After: next page.

Diff Detail

Repository
rP Phabricator
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

This revision was not accepted when it landed; it landed in state Needs Review.Aug 15 2019, 7:22 PM
This revision was automatically updated to reflect the committed changes.