Page MenuHomePhorge
Feed Advanced Search

May 13 2023

aklapper updated the diff for D25227: Fix PHP 8.1 "strlen(null)" exception which blocks rendering "Browse Dashboards" dialog.

Uh, that unit test was useful indeed, and I know understand the rest of the code.

May 13 2023, 23:59
aklapper added a comment to T15372: "RuntimeException: Undefined array key" when pasting "a {{{a}}} a" comment (due to regex in PhutilRemarkupInterpreterBlockRule.php).

Historical commits with some comments about that regex: https://secure.phabricator.com/D7338, https://secure.phabricator.com/D7012

May 13 2023, 18:20 · Bug Reports
aklapper removed a project from T15064: Make Phorge compatible with PHP 8.1/8.2/8.3/8.4: Affects-Wikimedia.

It might make sense to look into https://secure.phabricator.com/T13588 and https://secure.phabricator.com/D21862

May 13 2023, 18:14 · PHP 8 support
aklapper requested review of D25229: Fix PHP 8.1 "explode(null)" exception which blocks rendering "Provide Multi-Factor Credentials" page.
May 13 2023, 13:48
aklapper added a revision to T15397: PHP 8.1 "explode(null)" exception blocks rendering "Provide Multi-Factor Credentials" page: D25229: Fix PHP 8.1 "explode(null)" exception which blocks rendering "Provide Multi-Factor Credentials" page.
May 13 2023, 13:48 · PHP 8 support
aklapper created T15397: PHP 8.1 "explode(null)" exception blocks rendering "Provide Multi-Factor Credentials" page.
May 13 2023, 13:43 · PHP 8 support
aklapper added a comment to T15378: PhabricatorApplicationTransactionStructureException trying to mute File notifications: "Attempting to apply a transaction which has not been constructed correctly".

Same behavior for "Mute Notifications" on http://phorge.localhost/legalpad/view/1/ with same stacktrace:

[2023-05-13 10:48:02] EXCEPTION: (PhabricatorApplicationTransactionStructureException) Attempting to apply a transaction (of class "LegalpadTransaction", with type "core:edge") which has not been constructed correctly: Transaction has type "core:edge", but that transaction type is not supported by this editor (LegalpadDocumentEditor). at [<phorge>/src/applications/transactions/editor/PhabricatorApplicationTransactionEditor.php:1830]
arcanist(head=master, ref.master=c14785c3795c), phorge(head=conduitEatMoreKittens, ref.master=2df7ea13a387, ref.conduitEatMoreKittens=2df7ea13a387)
  #0 <#2> PhabricatorApplicationTransactionEditor::validateEditParameters(LegalpadDocument, array) called at [<phorge>/src/applications/transactions/editor/PhabricatorApplicationTransactionEditor.php:1209]
  #1 <#2> PhabricatorApplicationTransactionEditor::applyTransactions(LegalpadDocument, array) called at [<phorge>/src/applications/subscriptions/controller/PhabricatorSubscriptionsMuteController.php:58]
  #2 <#2> PhabricatorSubscriptionsMuteController::handleRequest(AphrontRequest) called at [<phorge>/src/aphront/configuration/AphrontApplicationConfiguration.php:284]
  #3 phlog(PhabricatorApplicationTransactionStructureException) called at [<phorge>/src/aphront/handler/PhabricatorDefaultRequestExceptionHandler.php:41]
  #4 PhabricatorDefaultRequestExceptionHandler::handleRequestThrowable(AphrontRequest, PhabricatorApplicationTransactionStructureException) called at [<phorge>/src/aphront/configuration/AphrontApplicationConfiguration.php:751]
  #5 AphrontApplicationConfiguration::handleThrowable(PhabricatorApplicationTransactionStructureException) called at [<phorge>/src/aphront/configuration/AphrontApplicationConfiguration.php:296]
  #6 AphrontApplicationConfiguration::processRequest(AphrontRequest, PhutilDeferredLog, AphrontPHPHTTPSink, MultimeterControl) called at [<phorge>/src/aphront/configuration/AphrontApplicationConfiguration.php:203]
  #7 AphrontApplicationConfiguration::runHTTPRequest(AphrontPHPHTTPSink) called at [<phorge>/webroot/index.php:35]
May 13 2023, 13:29 · Bug Reports
aklapper requested review of D25228: Fix PHP 8.1 exception in Conduit: Make "array_fuse(array $list)" accept null as parameter.
May 13 2023, 13:28
aklapper added a revision to T15393: PHP 8.1 "array_fuse(null)" exception blocks rendering Conduit's "Method Call Result" page: D25228: Fix PHP 8.1 exception in Conduit: Make "array_fuse(array $list)" accept null as parameter.
May 13 2023, 13:28 · PHP 8 support
aklapper abandoned D25225: Fix PHP 8.1 "array_fuse(null)" exception which blocks rendering Conduit's "Method Call Result" page.

Uh right, that makes way more sense to cover numerous such cases in Arcanist instead of playing whack-a-mole in Phorge Conduit. Thanks!

May 13 2023, 13:21
aklapper updated the diff for D25176: Fix PHP 8.1 "strlen(null)" exception which blocks creating a project with an empty Description field.

Use phutil_nonempty_stringlike; update doc comment.

May 13 2023, 11:47
aklapper requested review of D25227: Fix PHP 8.1 "strlen(null)" exception which blocks rendering "Browse Dashboards" dialog.
May 13 2023, 11:25
aklapper added a revision to T15396: PHP 8.1 "strlen(null)" exception blocks rendering "Browse Dashboards" dialog: D25227: Fix PHP 8.1 "strlen(null)" exception which blocks rendering "Browse Dashboards" dialog.
May 13 2023, 11:24 · PHP 8 support
aklapper created T15396: PHP 8.1 "strlen(null)" exception blocks rendering "Browse Dashboards" dialog.
May 13 2023, 11:23 · PHP 8 support
aklapper requested review of D25226: Fix PHP 8.1 "strlen(null)" exceptions which block rendering Legalpad signatures.
May 13 2023, 11:04
aklapper added a revision to T15395: PHP 8.1 "strlen(null)" exceptions block rendering Legalpad signatures: D25226: Fix PHP 8.1 "strlen(null)" exceptions which block rendering Legalpad signatures.
May 13 2023, 11:04 · PHP 8 support
aklapper created T15395: PHP 8.1 "strlen(null)" exceptions block rendering Legalpad signatures.
May 13 2023, 11:03 · PHP 8 support
aklapper closed T15394: embedslowvote as Invalid.

Argh, sorry, misclicked.

May 13 2023, 02:26
aklapper created T15394: embedslowvote.
May 13 2023, 02:26
aklapper requested review of D25225: Fix PHP 8.1 "array_fuse(null)" exception which blocks rendering Conduit's "Method Call Result" page.
May 13 2023, 01:40
aklapper added a revision to T15393: PHP 8.1 "array_fuse(null)" exception blocks rendering Conduit's "Method Call Result" page: D25225: Fix PHP 8.1 "array_fuse(null)" exception which blocks rendering Conduit's "Method Call Result" page.
May 13 2023, 01:40 · PHP 8 support
aklapper created T15393: PHP 8.1 "array_fuse(null)" exception blocks rendering Conduit's "Method Call Result" page.
May 13 2023, 01:37 · PHP 8 support

May 12 2023

aklapper requested review of D25224: Fix PHP 8.1 "trim(null)" exception which blocks rendering Reports' Burnup Rate page.
May 12 2023, 22:08
aklapper added a revision to T15392: PHP 8.1 "trim(null)" exception blocks rendering Reports' Burnup Rate page: D25224: Fix PHP 8.1 "trim(null)" exception which blocks rendering Reports' Burnup Rate page.
May 12 2023, 22:08 · PHP 8 support
aklapper created T15392: PHP 8.1 "trim(null)" exception blocks rendering Reports' Burnup Rate page.
May 12 2023, 22:07 · PHP 8 support
aklapper requested review of D25223: Fix PHP 8.1 "strlen(null)" exception which blocks task Bulk Editor page.
May 12 2023, 21:46
aklapper added a revision to T15391: PHP 8.1 "strlen(null)" exception blocks task Bulk Editor page: D25223: Fix PHP 8.1 "strlen(null)" exception which blocks task Bulk Editor page.
May 12 2023, 21:46 · PHP 8 support
aklapper created T15391: PHP 8.1 "strlen(null)" exception blocks task Bulk Editor page.
May 12 2023, 21:45 · PHP 8 support
aklapper added a comment to D25222: Fix PHP 8.1 "strlen(null)" exception setting Story Points on a Task.

lol, maybe makes more sense just to remove this three lines instead of blindly replacing a function call? :P

May 12 2023, 21:27
aklapper requested review of D25222: Fix PHP 8.1 "strlen(null)" exception setting Story Points on a Task.
May 12 2023, 21:21
aklapper added a revision to T15390: PHP 8.1 "strlen(null)" exception setting story points on a task: D25222: Fix PHP 8.1 "strlen(null)" exception setting Story Points on a Task.
May 12 2023, 21:21 · PHP 8 support
aklapper created T15390: PHP 8.1 "strlen(null)" exception setting story points on a task.
May 12 2023, 21:20 · PHP 8 support
aklapper updated the diff for D25175: Fix PHP 8.1 "strlen(null)" and "explode()" exceptions which block rendering Administrator Account Creation page.

Add minimal strict short-circuit check as proposed by Valerio

May 12 2023, 21:06
aklapper requested review of D25221: Fix PHP 8.1 exceptions which block adding an embedded File preview as a Comment.
May 12 2023, 17:22
aklapper added a revision to T15389: PHP 8.1 exceptions block adding an embedded file preview as a comment: D25221: Fix PHP 8.1 exceptions which block adding an embedded File preview as a Comment.
May 12 2023, 17:22 · PHP 8 support
aklapper created T15389: PHP 8.1 exceptions block adding an embedded file preview as a comment.
May 12 2023, 17:19 · PHP 8 support
aklapper requested review of D25219: Fix PHP 8.1 "strlen(null)" exceptions which block adding 2FA factor.
May 12 2023, 17:06
aklapper added a revision to T15388: PHP 8.1 "strlen(null)" exceptions block adding 2FA factor: D25219: Fix PHP 8.1 "strlen(null)" exceptions which block adding 2FA factor.
May 12 2023, 17:06 · PHP 8 support
aklapper attached a referenced file: F289083: Screenshot from 2023-05-12 18-54-18.png.
May 12 2023, 17:06
aklapper created T15388: PHP 8.1 "strlen(null)" exceptions block adding 2FA factor.
May 12 2023, 17:05 · PHP 8 support
aklapper created T15387: Multi-Factor Auth setup dialog shows three times same option.
May 12 2023, 16:55
aklapper updated the task description for T15386: PHP 8.1 "strlen(null)" exception blocks rendering MFA Provider page.
May 12 2023, 16:52 · PHP 8 support
aklapper requested review of D25218: Fix PHP 8.1 "strlen(null)" exception which blocks rendering MFA Provider page.
May 12 2023, 16:50
aklapper added a revision to T15386: PHP 8.1 "strlen(null)" exception blocks rendering MFA Provider page: D25218: Fix PHP 8.1 "strlen(null)" exception which blocks rendering MFA Provider page.
May 12 2023, 16:50 · PHP 8 support
aklapper created T15386: PHP 8.1 "strlen(null)" exception blocks rendering MFA Provider page.
May 12 2023, 16:47 · PHP 8 support
aklapper closed T15384: PHP 8.1 "strlen(null)" exceptions block rendering Log In page after user logout, a subtask of T15064: Make Phorge compatible with PHP 8.1/8.2/8.3/8.4, as Resolved.
May 12 2023, 10:06 · PHP 8 support
aklapper closed T15384: PHP 8.1 "strlen(null)" exceptions block rendering Log In page after user logout as Resolved by committing rP4d1adf69392a: Fix PHP 8.1 "strlen(null)" exceptions which block rendering Log In page after….
May 12 2023, 10:06 · PHP 8 support
aklapper closed D25217: Fix PHP 8.1 "strlen(null)" exceptions which block rendering Log In page after user logout.
May 12 2023, 10:06
aklapper committed rP4d1adf69392a: Fix PHP 8.1 "strlen(null)" exceptions which block rendering Log In page after….
Fix PHP 8.1 "strlen(null)" exceptions which block rendering Log In page after…
May 12 2023, 10:06
aklapper closed T15381: PHP 8.1 "strlen(null)" and preg_match() exceptions block rendering "Browse Subscribers" overlay dialog, a subtask of T15064: Make Phorge compatible with PHP 8.1/8.2/8.3/8.4, as Resolved.
May 12 2023, 10:02 · PHP 8 support
aklapper closed D25214: Fix PHP 8.1 "strlen(null)" and preg_match() exceptions which block rendering "Browse Subscribers" overlay dialog.
May 12 2023, 10:02
aklapper closed T15381: PHP 8.1 "strlen(null)" and preg_match() exceptions block rendering "Browse Subscribers" overlay dialog as Resolved by committing rP3a3112f67b4e: Fix PHP 8.1 "strlen(null)" and preg_match() exceptions which block rendering….
May 12 2023, 10:02 · PHP 8 support
aklapper committed rP3a3112f67b4e: Fix PHP 8.1 "strlen(null)" and preg_match() exceptions which block rendering….
Fix PHP 8.1 "strlen(null)" and preg_match() exceptions which block rendering…
May 12 2023, 10:02
aklapper closed T15380: PHP 8.1 "strlen(null)" exceptions block rendering "Browse Projects" overlay dialog, a subtask of T15064: Make Phorge compatible with PHP 8.1/8.2/8.3/8.4, as Resolved.
May 12 2023, 10:00 · PHP 8 support
aklapper closed T15380: PHP 8.1 "strlen(null)" exceptions block rendering "Browse Projects" overlay dialog as Resolved by committing rPbac87ca2646b: Fix PHP 8.1 "strlen(null)" exception[s] which block rendering "Browse Projects"….
May 12 2023, 10:00 · PHP 8 support
aklapper closed D25213: Fix PHP 8.1 "strlen(null)" exception[s] which block rendering "Browse Projects" overlay dialog.
May 12 2023, 10:00
aklapper committed rPbac87ca2646b: Fix PHP 8.1 "strlen(null)" exception[s] which block rendering "Browse Projects"….
Fix PHP 8.1 "strlen(null)" exception[s] which block rendering "Browse Projects"…
May 12 2023, 10:00
aklapper closed T15375: PHP 8.1 "implicit conversion from float to int" exception on certain avatar colors which blocks rendering user pages, a subtask of T15064: Make Phorge compatible with PHP 8.1/8.2/8.3/8.4, as Resolved.
May 12 2023, 09:58 · PHP 8 support
aklapper closed T15375: PHP 8.1 "implicit conversion from float to int" exception on certain avatar colors which blocks rendering user pages, a subtask of T15334: PhabricatorProjectCoreTestCase: fix "Implicit conversion from float ", as Resolved.
May 12 2023, 09:58 · User-valerio.bozzolan, Projects
aklapper closed T15375: PHP 8.1 "implicit conversion from float to int" exception on certain avatar colors which blocks rendering user pages as Resolved by committing rPc2856b479fbd: Fix PHP 8.1 "implicit conversion from float to int" exception on certain avatar….
May 12 2023, 09:58 · PHP 8 support
aklapper closed D25209: Fix PHP 8.1 "implicit conversion from float to int" exception on certain avatar colors which blocks rendering user pages.
May 12 2023, 09:58
aklapper committed rPc2856b479fbd: Fix PHP 8.1 "implicit conversion from float to int" exception on certain avatar….
Fix PHP 8.1 "implicit conversion from float to int" exception on certain avatar…
May 12 2023, 09:58
aklapper added a comment to D25209: Fix PHP 8.1 "implicit conversion from float to int" exception on certain avatar colors which blocks rendering user pages.

Thanks for the additional checking and docs!

May 12 2023, 09:58
valerio.bozzolan awarded D25212: Fix PHP 8.1 "ltrim(null)" exception which blocks rendering first Meme comment a Yellow Medal token.
May 12 2023, 08:13

May 10 2023

aklapper requested review of D25217: Fix PHP 8.1 "strlen(null)" exceptions which block rendering Log In page after user logout.
May 10 2023, 18:32
aklapper added a revision to T15384: PHP 8.1 "strlen(null)" exceptions block rendering Log In page after user logout: D25217: Fix PHP 8.1 "strlen(null)" exceptions which block rendering Log In page after user logout.
May 10 2023, 18:32 · PHP 8 support
aklapper created T15384: PHP 8.1 "strlen(null)" exceptions block rendering Log In page after user logout.
May 10 2023, 18:31 · PHP 8 support
aklapper requested review of D25216: Fix PHP 8.1 "strlen(null)" exceptions setting up Username/Password Authentication Provider.
May 10 2023, 18:09
aklapper added a revision to T15383: PHP 8.1 "strlen(null)" exceptions setting up Username/Password Authentication Provider: D25216: Fix PHP 8.1 "strlen(null)" exceptions setting up Username/Password Authentication Provider.
May 10 2023, 18:09 · PHP 8 support
aklapper created T15383: PHP 8.1 "strlen(null)" exceptions setting up Username/Password Authentication Provider.
May 10 2023, 18:08 · PHP 8 support
aklapper requested review of D25215: Fix PHP 8.1 "strlen(null)" exception shown when sending SMS Test Message to Contact Number.
May 10 2023, 17:59
aklapper added a revision to T15382: PHP 8.1 "strlen(null)" exception shown when sending SMS Test Message to Contact Number: D25215: Fix PHP 8.1 "strlen(null)" exception shown when sending SMS Test Message to Contact Number.
May 10 2023, 17:59 · PHP 8 support
aklapper created T15382: PHP 8.1 "strlen(null)" exception shown when sending SMS Test Message to Contact Number.
May 10 2023, 17:58 · PHP 8 support
aklapper requested review of D25214: Fix PHP 8.1 "strlen(null)" and preg_match() exceptions which block rendering "Browse Subscribers" overlay dialog.
May 10 2023, 14:46
aklapper added a revision to T15381: PHP 8.1 "strlen(null)" and preg_match() exceptions block rendering "Browse Subscribers" overlay dialog: D25214: Fix PHP 8.1 "strlen(null)" and preg_match() exceptions which block rendering "Browse Subscribers" overlay dialog.
May 10 2023, 14:46 · PHP 8 support
aklapper created T15381: PHP 8.1 "strlen(null)" and preg_match() exceptions block rendering "Browse Subscribers" overlay dialog.
May 10 2023, 14:45 · PHP 8 support
aklapper updated the test plan for D25213: Fix PHP 8.1 "strlen(null)" exception[s] which block rendering "Browse Projects" overlay dialog.
May 10 2023, 14:41
aklapper updated the test plan for D25213: Fix PHP 8.1 "strlen(null)" exception[s] which block rendering "Browse Projects" overlay dialog.
May 10 2023, 14:40
aklapper requested review of D25213: Fix PHP 8.1 "strlen(null)" exception[s] which block rendering "Browse Projects" overlay dialog.
May 10 2023, 14:27
aklapper added a revision to T15380: PHP 8.1 "strlen(null)" exceptions block rendering "Browse Projects" overlay dialog: D25213: Fix PHP 8.1 "strlen(null)" exception[s] which block rendering "Browse Projects" overlay dialog.
May 10 2023, 14:27 · PHP 8 support
aklapper created T15380: PHP 8.1 "strlen(null)" exceptions block rendering "Browse Projects" overlay dialog.
May 10 2023, 14:26 · PHP 8 support
aklapper requested review of D25212: Fix PHP 8.1 "ltrim(null)" exception which blocks rendering first Meme comment.
May 10 2023, 13:59
aklapper added a revision to T15379: PHP 8.1 "ltrim(null)" exception blocks rendering first Meme comment: D25212: Fix PHP 8.1 "ltrim(null)" exception which blocks rendering first Meme comment.
May 10 2023, 13:59 · PHP 8 support
aklapper created T15379: PHP 8.1 "ltrim(null)" exception blocks rendering first Meme comment.
May 10 2023, 13:35 · PHP 8 support
aklapper closed T15377: PHP 8.1 "strlen(null)" exception when trying to add empty user email address, a subtask of T15064: Make Phorge compatible with PHP 8.1/8.2/8.3/8.4, as Resolved.
May 10 2023, 08:29 · PHP 8 support
aklapper closed T15377: PHP 8.1 "strlen(null)" exception when trying to add empty user email address as Resolved by committing rP4d9719539773: Fix PHP 8.1 "strlen(null)" exception when trying to add empty user email address.
May 10 2023, 08:29 · PHP 8 support
aklapper closed D25211: Fix PHP 8.1 "strlen(null)" exception when trying to add empty user email address.
May 10 2023, 08:29
aklapper committed rP4d9719539773: Fix PHP 8.1 "strlen(null)" exception when trying to add empty user email address.
Fix PHP 8.1 "strlen(null)" exception when trying to add empty user email address
May 10 2023, 08:29
aklapper closed T15374: PHP 8.1 "strlen(null)" exceptions block rendering user page after creation with Welcome Email enabled, a subtask of T15064: Make Phorge compatible with PHP 8.1/8.2/8.3/8.4, as Resolved.
May 10 2023, 08:28 · PHP 8 support
aklapper closed T15374: PHP 8.1 "strlen(null)" exceptions block rendering user page after creation with Welcome Email enabled as Resolved by committing rPc86364c2aa6d: Fix PHP 8.1 "strlen(null)" exceptions which block rendering user page after….
May 10 2023, 08:28 · PHP 8 support
aklapper closed D25208: Fix PHP 8.1 "strlen(null)" exceptions which block rendering user page after creation with Welcome Email enabled.
May 10 2023, 08:28
aklapper committed rPc86364c2aa6d: Fix PHP 8.1 "strlen(null)" exceptions which block rendering user page after….
Fix PHP 8.1 "strlen(null)" exceptions which block rendering user page after…
May 10 2023, 08:28
aklapper created T15378: PhabricatorApplicationTransactionStructureException trying to mute File notifications: "Attempting to apply a transaction which has not been constructed correctly".
May 10 2023, 00:04 · Bug Reports

May 9 2023

aklapper requested review of D25211: Fix PHP 8.1 "strlen(null)" exception when trying to add empty user email address.
May 9 2023, 21:09
aklapper added a revision to T15377: PHP 8.1 "strlen(null)" exception when trying to add empty user email address: D25211: Fix PHP 8.1 "strlen(null)" exception when trying to add empty user email address.
May 9 2023, 21:09 · PHP 8 support
aklapper created T15377: PHP 8.1 "strlen(null)" exception when trying to add empty user email address.
May 9 2023, 21:08 · PHP 8 support
aklapper requested review of D25210: Fix PHP 8.1 "ltrim(null)" exception which blocks adding additional user email address.
May 9 2023, 21:04
aklapper added a revision to T15376: PHP 8.1 "ltrim(null)" exception blocks adding additional user email address: D25210: Fix PHP 8.1 "ltrim(null)" exception which blocks adding additional user email address.
May 9 2023, 21:04 · PHP 8 support
aklapper created T15376: PHP 8.1 "ltrim(null)" exception blocks adding additional user email address.
May 9 2023, 20:57 · PHP 8 support
aklapper added a comment to D25209: Fix PHP 8.1 "implicit conversion from float to int" exception on certain avatar colors which blocks rendering user pages.

Just to clarify, do you have an idea about the input domain of $a? (I will test this tomorrow)

May 9 2023, 20:30