Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Paste
P45
T15865 debug
Active
Public
Actions
Authored by
aklapper
on Jul 13 2024, 15:41.
Edit Paste
Archive Paste
View Raw File
Subscribe
Mute Notifications
Award Token
Flag For Later
Advanced/Developer...
View Handle
View Hovercard
Tags
None
Referenced Files
F2299228: T15865 debug
Jul 13 2024, 15:41
2024-07-13 15:41:16 (UTC+0)
Subscribers
None
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');
Event Timeline
aklapper
created this paste.
Jul 13 2024, 15:41
2024-07-13 15:41:16 (UTC+0)
aklapper
created this object in space
S1 Public
.
aklapper
mentioned this in
T15865: [Regression] Incorrect mail subject header [Updated] instead of [Created]
.
aklapper
mentioned this in
D25732: Set ActionName to "Created" for PhabricatorTransactions::TYPE_CREATE
.
Jul 13 2024, 15:47
2024-07-13 15:47:37 (UTC+0)
aklapper
mentioned this in
rP5a454cef8a98: Set ActionName to "Created" for PhabricatorTransactions::TYPE_CREATE
.
Jul 14 2024, 22:45
2024-07-14 22:45:29 (UTC+0)
Log In to Comment