Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F15336202
D20624.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
1 KB
Referenced Files
None
Subscribers
None
D20624.diff
View Options
diff --git a/src/applications/oauthserver/phid/PhabricatorOAuthServerClientPHIDType.php b/src/applications/oauthserver/phid/PhabricatorOAuthServerClientPHIDType.php
--- a/src/applications/oauthserver/phid/PhabricatorOAuthServerClientPHIDType.php
+++ b/src/applications/oauthserver/phid/PhabricatorOAuthServerClientPHIDType.php
@@ -32,7 +32,9 @@
foreach ($handles as $phid => $handle) {
$client = $objects[$phid];
- $handle->setName($client->getName());
+ $handle
+ ->setName($client->getName())
+ ->setURI($client->getURI());
}
}
diff --git a/src/applications/oauthserver/storage/PhabricatorOAuthServerClient.php b/src/applications/oauthserver/storage/PhabricatorOAuthServerClient.php
--- a/src/applications/oauthserver/storage/PhabricatorOAuthServerClient.php
+++ b/src/applications/oauthserver/storage/PhabricatorOAuthServerClient.php
@@ -59,6 +59,12 @@
PhabricatorOAuthServerClientPHIDType::TYPECONST);
}
+ public function getURI() {
+ return urisprintf(
+ '/oauthserver/client/view/%d/',
+ $this->getID());
+ }
+
/* -( PhabricatorPolicyInterface )----------------------------------------- */
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sun, Mar 9, 6:29 PM (3 d, 14 h ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
7390550
Default Alt Text
D20624.diff (1 KB)
Attached To
Mode
D20624: Fix missing URI for "OAuthServerClient" object handles, causing dialog with no button
Attached
Detach File
Event Timeline
Log In to Comment