Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F15433379
D20841.id49683.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
D20841.id49683.diff
View Options
diff --git a/src/applications/transactions/bulk/type/BulkTokenizerParameterType.php b/src/applications/transactions/bulk/type/BulkTokenizerParameterType.php
--- a/src/applications/transactions/bulk/type/BulkTokenizerParameterType.php
+++ b/src/applications/transactions/bulk/type/BulkTokenizerParameterType.php
@@ -22,7 +22,8 @@
$template = new AphrontTokenizerTemplateView();
$template_markup = $template->render();
- $datasource = $this->getDatasource();
+ $datasource = $this->getDatasource()
+ ->setViewer($this->getViewer());
return array(
'markup' => (string)hsprintf('%s', $template_markup),
diff --git a/src/applications/transactions/editengine/PhabricatorEditEngine.php b/src/applications/transactions/editengine/PhabricatorEditEngine.php
--- a/src/applications/transactions/editengine/PhabricatorEditEngine.php
+++ b/src/applications/transactions/editengine/PhabricatorEditEngine.php
@@ -2523,6 +2523,8 @@
}
final public function newBulkEditMap() {
+ $viewer = $this->getViewer();
+
$config = $this->loadDefaultConfiguration();
if (!$config) {
throw new Exception(
@@ -2542,6 +2544,8 @@
continue;
}
+ $bulk_type->setViewer($viewer);
+
$bulk_label = $type->getBulkEditLabel();
if ($bulk_label === null) {
continue;
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Tue, Mar 25, 10:55 PM (1 w, 3 d ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
7722844
Default Alt Text
D20841.id49683.diff (1 KB)
Attached To
Mode
D20841: Fix an issue where the "viewer" is not passed to Bulk Edit controls properly
Attached
Detach File
Event Timeline
Log In to Comment