Page MenuHomePhabricator

Don't apply space constraints to omnipotent-viewer queries
ClosedPublic

Authored by epriestley on Jul 3 2015, 3:47 PM.
Tags
None
Referenced Files
Unknown Object (File)
Mon, Apr 29, 2:33 PM
Unknown Object (File)
Thu, Apr 25, 7:03 PM
Unknown Object (File)
Wed, Apr 24, 10:39 PM
Unknown Object (File)
Sun, Apr 21, 12:38 AM
Unknown Object (File)
Sun, Apr 21, 12:38 AM
Unknown Object (File)
Sun, Apr 21, 12:29 AM
Unknown Object (File)
Sun, Apr 21, 12:12 AM
Unknown Object (File)
Mon, Apr 15, 9:55 AM
Subscribers

Details

Summary

Fixes T8743. Fixes T8746. When running queries with the omnipotent viewer and no explicit space constraints, don't add implicit space constraints.

This prevents us from fataling when running older pre-space migrations and trying to load space-aware objects.

Test Plan

Manually ran migrations with --trace, verified no WHERE spacePHID = ....

Diff Detail

Repository
rP Phabricator
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

epriestley retitled this revision from to Don't apply space constraints to omnipotent-viewer queries.
epriestley updated this object.
epriestley edited the test plan for this revision. (Show Details)
epriestley added a reviewer: btrahan.
chad added a reviewer: chad.
This revision is now accepted and ready to land.Jul 3 2015, 5:48 PM
This revision was automatically updated to reflect the committed changes.