Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F2299228
T15865 debug
No One
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Award Token
Flag For Later
Advanced/Developer...
View Handle
View Hovercard
Authored By
aklapper
Jul 13 2024, 15:41
2024-07-13 15:41:16 (UTC+0)
Size
1 KB
Referenced Files
None
Subscribers
None
T15865 debug
View Options
diff --git a/src/applications/transactions/editor/PhabricatorApplicationTransactionEditor.php b/src/applications/transactions/editor/PhabricatorApplicationTransactionEditor.php
index 1d9d3282b7..2911484c80 100644
--- a/src/applications/transactions/editor/PhabricatorApplicationTransactionEditor.php
+++ b/src/applications/transactions/editor/PhabricatorApplicationTransactionEditor.php
@@ -1621,6 +1621,13 @@ abstract class PhabricatorApplicationTransactionEditor
$this->mailStamps[] = $stamp->toDictionary();
}
}
+ foreach ($xactions as $xaction) {
+ phlog('PATE: TransactionType: ' . $xaction->getTransactionType());
+ phlog('PATE: ActionName: ' . $xaction->getActionName());
+ phlog('PATE: ActionStrength: ' . $xaction->getActionStrength());
+ phlog('------------------------');
+ }
+ phlog('PATE: actions by strength:' . json_encode(msortv($xactions, 'newActionStrengthSortVector')));
if ($this->shouldPublishFeedStory($object, $xactions)) {
$this->feedShouldPublish = true;
diff --git a/src/applications/transactions/storage/PhabricatorApplicationTransaction.php b/src/applications/transactions/storage/PhabricatorApplicationTransaction.php
index 607b3713a6..1472ba7a1f 100644
--- a/src/applications/transactions/storage/PhabricatorApplicationTransaction.php
+++ b/src/applications/transactions/storage/PhabricatorApplicationTransaction.php
@@ -1598,6 +1598,7 @@ abstract class PhabricatorApplicationTransaction
}
public function getActionName() {
+ phlog(pht('PAT: TA Type: %s', $this->getTransactionType()));
switch ($this->getTransactionType()) {
case PhabricatorTransactions::TYPE_COMMENT:
return pht('Commented On');
File Metadata
Details
Attached
Mime Type
text/plain; charset=utf-8
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
767535
Default Alt Text
T15865 debug (1 KB)
Attached To
Mode
P45 T15865 debug
Attached
Detach File
Event Timeline
Log In to Comment