Page MenuHomePhorge

Duplicated Transaction log entry for Diff creation (and PHP 8.1 exception)
Open, Needs TriagePublic

Description

  1. PHP 8.2.12, Phorge at d4b110af260caab56936aab543041b0904e4d02a
  2. Go to http://phorge.localhost/differential/diff/create/
  3. Paste random (but valid) diff content
  4. Click Create Diff button
  5. Go to http://phorge.localhost/feed/transactions/query/advanced/ and set Object Types to Differential Diff and click Search button
  6. See two entries listed instead of one; one entry has no Transaction column entry, thus in consequence also get ERROR 8192: strncmp(): Passing null to parameter #1 ($string1) of type string is deprecated at [/var/www/html/phorge/phorge/src/applications/policy/query/PhabricatorPolicyQuery.php:314]