Page MenuHomePhabricator

Remove all setObjectURI() from ActionListViews
ClosedPublic

Authored by epriestley on Dec 17 2015, 2:37 PM.
Tags
None
Referenced Files
F13103158: D14805.diff
Sat, Apr 27, 9:18 AM
Unknown Object (File)
Wed, Apr 24, 10:22 AM
Unknown Object (File)
Wed, Apr 17, 11:20 PM
Unknown Object (File)
Sun, Apr 14, 4:25 PM
Unknown Object (File)
Sat, Apr 13, 5:53 PM
Unknown Object (File)
Thu, Apr 11, 12:48 PM
Unknown Object (File)
Wed, Apr 10, 7:45 AM
Unknown Object (File)
Sat, Apr 6, 9:23 PM
Subscribers

Details

Summary

Ref T10004. After D14804, we get this behavior by default and no longer need to set it explicitly.

(If some endpoint did eventually need to set it explicitly, it could just change what it passes to setHref(), but I believe we currently have no such endpoints and do not foresee ever having any.)

Test Plan
  • As a logged out user, clicked various links in Differential, Maniphest, Files, etc., always got redirected to a sensible place after login.
  • Grepped for setObjectURI(), getObjectURI() (there are a few remaining callsites, but to a different method with the same name in Doorkeeper).

Diff Detail

Repository
rP Phabricator
Branch
ae2
Lint
Lint Passed
Unit
Tests Passed
Build Status
Buildable 9611
Build 11502: Run Core Tests
Build 11501: arc lint + arc unit

Event Timeline

epriestley retitled this revision from to Remove all setObjectURI() from ActionListViews.
epriestley updated this object.
epriestley edited the test plan for this revision. (Show Details)
epriestley added a reviewer: chad.
This revision is now accepted and ready to land.Dec 17 2015, 3:31 PM
This revision was automatically updated to reflect the committed changes.