1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-11-30 02:32:42 +01:00
phorge-phorge/src/applications/maniphest
Andre Klapper 2ffbef8820 Fix PHP 8.1 "trim(null)" exception which blocks rendering Reports' Burnup Rate page
Summary:
Since PHP 8.1, passing a null string to `trim()` is deprecated.

Thus first check that $row['oldValue'] is not null before trimming it.

Closes T15392

Test Plan: Applied this change; afterwards "Burnup Rate" page at `/maniphest/report/burn/` got correctly rendered in web browser.

Reviewers: O1 Blessed Committers, valerio.bozzolan

Reviewed By: O1 Blessed Committers, valerio.bozzolan

Subscribers: speck, tobiaswiese, valerio.bozzolan, Matthew, Cigaryno

Maniphest Tasks: T15392

Differential Revision: https://we.phorge.it/D25224
2023-05-23 11:58:19 +02:00
..
application Remove the ability to drag tasks up and down on (non-Workboard) priority list views 2019-03-12 12:47:36 -07:00
bulk Remove the Maniphest-specific bulk job type 2018-01-19 12:44:16 -08:00
capability Remove deprecated Maniphest "Can Edit <Specific Property>" capabilities 2018-08-16 10:51:06 -07:00
command Use keywords instead of ints to update task priority in ManiphestEditEngine 2017-06-14 14:43:03 -07:00
conduit Freeze "maniphest.gettasktransactions" and make status/priority transactions more consistent 2017-11-22 11:13:53 -08:00
config Remove product literal strings in "pht()", part 6 2022-04-25 12:22:28 -07:00
constants Fix additional "xprintf()"-class static parameter lint errors 2020-09-08 11:45:48 -07:00
controller Fix PHP 8.1 "trim(null)" exception which blocks rendering Reports' Burnup Rate page 2023-05-23 11:58:19 +02:00
edge Allow duplicates and merged-in tasks to be queried with edge.search 2017-10-13 13:12:50 -07:00
editor Use same method to get object URI as used in DifferentialTransactionEditor and PhabricatorApplicationTransactionEditor 2019-12-10 17:37:30 +02:00
engine Allow objects to specify custom policy unlocking behavior, and tasks to have owners unlocked 2019-03-07 12:27:11 -08:00
engineextension Fix task hovercards showing a "Not Editable" state 2019-03-26 15:56:09 -07:00
field Fix errors found by PHPStan 2017-02-17 10:10:15 +00:00
herald Add "you can only enter one value" UI limits to Herald "set status" and "set priority" actions 2018-01-26 13:22:26 -08:00
httpparametertype Make "Create Subtask" work properly in EditEngine 2015-12-08 14:29:58 -08:00
lipsum Remove all readers/writers for task "subpriority" 2019-03-12 12:57:04 -07:00
mail Allow multiple mail receivers to react to an individual email 2019-01-16 12:28:02 -08:00
phid Mark PhabricatorPHIDType::getPHIDTypeApplicationClass() as abstract 2015-11-03 06:47:12 +11:00
policy Update the "owner can always view/edit" policy exception rule 2019-11-18 21:54:45 -08:00
policyrule Allow PolicyRules to serve as "Object Policies" 2015-06-13 15:44:38 -07:00
query Convert complex query subclasses to use internal cursors 2019-03-19 13:02:16 -07:00
relationship Reorder "Merge" transaction to make "Close as Duplicate" produce a "[Merged]" email subject 2019-01-16 13:27:10 -08:00
remarkup Rename PhutilRemarkupRule subclasses 2014-08-05 00:55:43 +10:00
search Remove Ferret function aliases and overrides 2020-04-16 13:40:17 -07:00
storage Remove ancient Remarkup constants from Phame and Maniphest 2022-04-01 12:52:55 -07:00
typeahead Replace the informal "array" subtype map with a more formal "SubtypeMap" object 2018-12-09 16:37:35 -08:00
view Remove the ability to drag tasks up and down on (non-Workboard) priority list views 2019-03-12 12:47:36 -07:00
xaction Fix PHP 8.1 "strlen(null)" exception setting Story Points on a Task 2023-05-23 11:57:45 +02:00