Page MenuHomePhorge
Feed Advanced Search

Jul 17 2023

Sten closed D25328: Fix strlen(null) in DifferentialChangesetViewController loadCoverage().
Jul 17 2023, 10:02
Sten closed T15521: Viewing a diff with code coverage for some but not all files fails with strlen(null) under PHP 8.1, a subtask of T15064: Make Phorge compatible with PHP 8.1/8.2/8.3/8.4, as Resolved.
Jul 17 2023, 10:02 · PHP 8 support
Sten closed T15521: Viewing a diff with code coverage for some but not all files fails with strlen(null) under PHP 8.1 as Resolved by committing rP8cbbc9f96107: Fix strlen(null) in DifferentialChangesetViewController loadCoverage().
Jul 17 2023, 10:02 · PHP 8 support
Sten committed rP8cbbc9f96107: Fix strlen(null) in DifferentialChangesetViewController loadCoverage().
Fix strlen(null) in DifferentialChangesetViewController loadCoverage()
Jul 17 2023, 10:02

Jul 15 2023

Sten closed D25345: Fix /dashboard/adjust/remove/ PHP 8.1 strlen(null) errors.
Jul 15 2023, 11:44
Sten closed T15549: Dashboard Remove Panel fails with PHP 8.1 strlen(null) as Resolved by committing rPf7dd8f579a36: Fix /dashboard/adjust/remove/ PHP 8.1 strlen(null) errors.
Jul 15 2023, 11:44 · PHP 8 support
Sten closed T15549: Dashboard Remove Panel fails with PHP 8.1 strlen(null), a subtask of T15064: Make Phorge compatible with PHP 8.1/8.2/8.3/8.4, as Resolved.
Jul 15 2023, 11:44 · PHP 8 support
Sten committed rPf7dd8f579a36: Fix /dashboard/adjust/remove/ PHP 8.1 strlen(null) errors.
Fix /dashboard/adjust/remove/ PHP 8.1 strlen(null) errors
Jul 15 2023, 11:44

Jul 13 2023

Sten requested review of D25345: Fix /dashboard/adjust/remove/ PHP 8.1 strlen(null) errors.
Jul 13 2023, 12:03
Sten added a revision to T15549: Dashboard Remove Panel fails with PHP 8.1 strlen(null): D25345: Fix /dashboard/adjust/remove/ PHP 8.1 strlen(null) errors.
Jul 13 2023, 12:03 · PHP 8 support
Sten claimed T15549: Dashboard Remove Panel fails with PHP 8.1 strlen(null).
Jul 13 2023, 09:22 · PHP 8 support
Sten created T15549: Dashboard Remove Panel fails with PHP 8.1 strlen(null).
Jul 13 2023, 09:22 · PHP 8 support

Jul 12 2023

Sten closed D25340: Fix PHP 8.1 strlen(null) in DiffusionView linkBrowse().
Jul 12 2023, 12:38
Sten closed T15542: Fix strlen(null) when viewing a diff by git commit ID under PHP 8.1 as Resolved by committing rP3703588e9db6: Fix PHP 8.1 strlen(null) in DiffusionView linkBrowse().
Jul 12 2023, 12:38 · PHP 8 support
Sten closed T15542: Fix strlen(null) when viewing a diff by git commit ID under PHP 8.1, a subtask of T15064: Make Phorge compatible with PHP 8.1/8.2/8.3/8.4, as Resolved.
Jul 12 2023, 12:38 · PHP 8 support
Sten committed rP3703588e9db6: Fix PHP 8.1 strlen(null) in DiffusionView linkBrowse().
Fix PHP 8.1 strlen(null) in DiffusionView linkBrowse()
Jul 12 2023, 12:38

Jul 7 2023

Sten added a comment to T15517: Differential PHP 8.1 failure - DifferentialChangeset getOldStatePathVector() strlen.

I noted down that it did when I first hit this error, but not anymore. Now I have to go to a specific diff in which a new file has been added.

Jul 7 2023, 21:03 · PHP 8 support
Sten updated the diff for D25336: Fix PhabricatorRepository generateURI PHP 8.1 strlen(null) errors.

Happy to change those phutil_nonempty_string() into phutil_nonempty_scalar() because

  1. The only place it matters is in DiffusionExternalController.php where this is called with:
$redirect = $repository->generateURI(
   array(
     'action' => 'browse',
     'branch' => $repository->getDefaultBranch(),
     'commit' => $id,
   ));

Maybe $id might be an int or float under some non-git VCS.

Jul 7 2023, 21:01
Sten added a comment to D25323: Fix PHP 8.1 issue in DifferentialChangeset getOldStatePathVector().

Uhm. What about removing a file?

Jul 7 2023, 14:42
Sten added inline comments to D25340: Fix PHP 8.1 strlen(null) in DiffusionView linkBrowse().
Jul 7 2023, 14:38
Sten requested review of D25340: Fix PHP 8.1 strlen(null) in DiffusionView linkBrowse().
Jul 7 2023, 14:36
Sten added a revision to T15542: Fix strlen(null) when viewing a diff by git commit ID under PHP 8.1: D25340: Fix PHP 8.1 strlen(null) in DiffusionView linkBrowse().
Jul 7 2023, 14:36 · PHP 8 support
Sten claimed T15542: Fix strlen(null) when viewing a diff by git commit ID under PHP 8.1.
Jul 7 2023, 14:33 · PHP 8 support
Sten created T15542: Fix strlen(null) when viewing a diff by git commit ID under PHP 8.1.
Jul 7 2023, 14:33 · PHP 8 support
Sten added a comment to D25323: Fix PHP 8.1 issue in DifferentialChangeset getOldStatePathVector().

Can't find a test case in which the function returns null :-(

Jul 7 2023, 14:17
Sten updated the test plan for D25323: Fix PHP 8.1 issue in DifferentialChangeset getOldStatePathVector().
Jul 7 2023, 14:17
Sten accepted D25339: Improve arc-browse for php 8.1.
Jul 7 2023, 13:32
Sten requested changes to D25339: Improve arc-browse for php 8.1.
Jul 7 2023, 08:40

Jul 6 2023

Sten added a comment to T15096: Discuss Arcanist as a barrier to adoption of Phorge and how to address the underlying issues..

Has anyone experimented with using arcanist in a docker container? I see two people have published these on dockerhub:

Jul 6 2023, 10:00 · Discussion Needed, Arcanist
Sten closed T15527: arc diff <differential.getcommitmessage> strlen(null) PHP 8.1 error as Resolved by committing rPb3ac5ceb387f: Fix DifferentialGetCommitMessageConduitAPIMethod execute strlen(null).
Jul 6 2023, 08:42 · PHP 8 support
Sten closed T15527: arc diff <differential.getcommitmessage> strlen(null) PHP 8.1 error, a subtask of T15064: Make Phorge compatible with PHP 8.1/8.2/8.3/8.4, as Resolved.
Jul 6 2023, 08:42 · PHP 8 support
Sten closed D25332: Fix DifferentialGetCommitMessageConduitAPIMethod execute strlen(null).
Jul 6 2023, 08:42
Sten committed rPb3ac5ceb387f: Fix DifferentialGetCommitMessageConduitAPIMethod execute strlen(null).
Fix DifferentialGetCommitMessageConduitAPIMethod execute strlen(null)
Jul 6 2023, 08:42

Jul 5 2023

Sten added a comment to D25332: Fix DifferentialGetCommitMessageConduitAPIMethod execute strlen(null).

Wouldn't want to deny you your '0' comments!

Jul 5 2023, 16:22
Sten updated the diff for D25332: Fix DifferentialGetCommitMessageConduitAPIMethod execute strlen(null).

Update empty string check to === '' as per review

Jul 5 2023, 16:21
Sten added a comment to D25323: Fix PHP 8.1 issue in DifferentialChangeset getOldStatePathVector().

Could we have a lint rule to catch forbidden newlines?

Jul 5 2023, 16:11
Sten updated the diff for D25323: Fix PHP 8.1 issue in DifferentialChangeset getOldStatePathVector().

Interesting point about the array return.

Jul 5 2023, 16:10
Sten updated the diff for D25329: Fix passing null to trim() error in DiffusionBrowseTableView render().

coalesce - I like that. It's going to see some use!

Jul 5 2023, 15:44
Sten added inline comments to D25329: Fix passing null to trim() error in DiffusionBrowseTableView render().
Jul 5 2023, 15:19
Sten closed D25335: Fix PHP 8.1 DifferentialBranchField getBranchDescription strlen(null) error.
Jul 5 2023, 15:06
Sten closed T15531: PHP 8.1 DifferentialBranchField getBranchDescription strlen(null) error as Resolved by committing rP9d512595c0e2: Fix PHP 8.1 DifferentialBranchField getBranchDescription strlen(null) error.
Jul 5 2023, 15:06 · PHP 8 support
Sten closed T15531: PHP 8.1 DifferentialBranchField getBranchDescription strlen(null) error, a subtask of T15064: Make Phorge compatible with PHP 8.1/8.2/8.3/8.4, as Resolved.
Jul 5 2023, 15:06 · PHP 8 support
Sten committed rP9d512595c0e2: Fix PHP 8.1 DifferentialBranchField getBranchDescription strlen(null) error.
Fix PHP 8.1 DifferentialBranchField getBranchDescription strlen(null) error
Jul 5 2023, 15:06
Sten added a comment to D25334: Fix DifferentialCommitMessageField renderFieldValue PHP 8.1 strlen(null) error.

Tested uploading a diff via the web interface, and it's fine with and without this patch.

Jul 5 2023, 15:04
Sten updated the diff for D25335: Fix PHP 8.1 DifferentialBranchField getBranchDescription strlen(null) error.

Pesky newline removed :-)

Jul 5 2023, 14:39
Sten closed D25327: PHP8.1 fix for DiffusionServeController serveRequest().
Jul 5 2023, 14:38
Sten closed T15520: git pull from PHP 8.1 Phorge using https URL fails with strlen() null error, a subtask of T15064: Make Phorge compatible with PHP 8.1/8.2/8.3/8.4, as Resolved.
Jul 5 2023, 14:38 · PHP 8 support
Sten closed T15520: git pull from PHP 8.1 Phorge using https URL fails with strlen() null error as Resolved by committing rP9bf5e1735287: PHP8.1 fix for DiffusionServeController serveRequest().
Jul 5 2023, 14:38 · PHP 8 support
Sten committed rP9bf5e1735287: PHP8.1 fix for DiffusionServeController serveRequest().
PHP8.1 fix for DiffusionServeController serveRequest()
Jul 5 2023, 14:37
Sten requested review of D25336: Fix PhabricatorRepository generateURI PHP 8.1 strlen(null) errors.
Jul 5 2023, 14:35
Sten added a revision to T15532: PhabricatorRepository generateURI generates multiple strlen(null) errors under PHP 8.1: D25336: Fix PhabricatorRepository generateURI PHP 8.1 strlen(null) errors.
Jul 5 2023, 14:35 · PHP 8 support
Sten claimed T15532: PhabricatorRepository generateURI generates multiple strlen(null) errors under PHP 8.1.
Jul 5 2023, 14:32 · PHP 8 support
Sten created T15532: PhabricatorRepository generateURI generates multiple strlen(null) errors under PHP 8.1.
Jul 5 2023, 14:32 · PHP 8 support
Sten added a comment to D25334: Fix DifferentialCommitMessageField renderFieldValue PHP 8.1 strlen(null) error.

I triggered the exceptions just by running 'arc diff'. Visiting a diff on the web interface was fine. Please see T15530 for the exception stack trace.

Jul 5 2023, 13:50
Sten updated the diff for D25324: Fix PHP 8.1 PhabricatorEditorURIEngine::newForViewer() trim(NULL) error.

Nice - complete removal of that strlen as suggested.

Jul 5 2023, 13:44
Sten requested review of D25335: Fix PHP 8.1 DifferentialBranchField getBranchDescription strlen(null) error.
Jul 5 2023, 13:32
Sten added a revision to T15531: PHP 8.1 DifferentialBranchField getBranchDescription strlen(null) error: D25335: Fix PHP 8.1 DifferentialBranchField getBranchDescription strlen(null) error.
Jul 5 2023, 13:32 · PHP 8 support
Sten claimed T15531: PHP 8.1 DifferentialBranchField getBranchDescription strlen(null) error.
Jul 5 2023, 13:24 · PHP 8 support
Sten created T15531: PHP 8.1 DifferentialBranchField getBranchDescription strlen(null) error.
Jul 5 2023, 13:24 · PHP 8 support
Sten added a comment to D25334: Fix DifferentialCommitMessageField renderFieldValue PHP 8.1 strlen(null) error.
  1. Probably we can avoid to create a "dummy" DifferentialTestCommitMessageField and just use something like DifferentialSubscribersCommitMessageField in the test case
Jul 5 2023, 12:45
Sten updated the test plan for D25334: Fix DifferentialCommitMessageField renderFieldValue PHP 8.1 strlen(null) error.
Jul 5 2023, 12:39
Sten updated the diff for D25334: Fix DifferentialCommitMessageField renderFieldValue PHP 8.1 strlen(null) error.

Remove blank line

Jul 5 2023, 12:37
Sten updated the diff for D25327: PHP8.1 fix for DiffusionServeController serveRequest().

Try now - adding PHABRICATOR_TESTCONFIG_BUILD_STORAGE_FIXTURES has resolved the Database isolation exception in other test cases I've done.

Jul 5 2023, 12:28
avivey awarded D25327: PHP8.1 fix for DiffusionServeController serveRequest() a Yellow Medal token.
Jul 5 2023, 11:03
Sten updated the diff for D25334: Fix DifferentialCommitMessageField renderFieldValue PHP 8.1 strlen(null) error.

Handle renderFieldValue in DifferentialRevisionIDCommitMessageField as well

Jul 5 2023, 10:43
Sten requested review of D25334: Fix DifferentialCommitMessageField renderFieldValue PHP 8.1 strlen(null) error.
Jul 5 2023, 10:34
Sten added a revision to T15530: arc diff throws PHP 8.1 strlen(null) error from DifferentialCommitMessageField renderFieldValue: D25334: Fix DifferentialCommitMessageField renderFieldValue PHP 8.1 strlen(null) error.
Jul 5 2023, 10:34 · PHP 8 support
Sten claimed T15530: arc diff throws PHP 8.1 strlen(null) error from DifferentialCommitMessageField renderFieldValue.
Jul 5 2023, 10:30 · PHP 8 support
Sten created T15530: arc diff throws PHP 8.1 strlen(null) error from DifferentialCommitMessageField renderFieldValue.
Jul 5 2023, 10:29 · PHP 8 support
Sten requested review of D25333: Fix DifferentialDiff getFieldValuesForConduit PHP 8.1 strlen(null) errors.
Jul 5 2023, 09:47
Sten added a revision to T15529: arc diff DifferentialDiff getFieldValuesForConduit PHP 8.1 strlen(null) errors : D25333: Fix DifferentialDiff getFieldValuesForConduit PHP 8.1 strlen(null) errors.
Jul 5 2023, 09:47 · PHP 8 support
Sten claimed T15529: arc diff DifferentialDiff getFieldValuesForConduit PHP 8.1 strlen(null) errors .
Jul 5 2023, 09:41 · PHP 8 support
Sten created T15529: arc diff DifferentialDiff getFieldValuesForConduit PHP 8.1 strlen(null) errors .
Jul 5 2023, 09:41 · PHP 8 support
Sten requested review of D25332: Fix DifferentialGetCommitMessageConduitAPIMethod execute strlen(null).
Jul 5 2023, 08:16
Sten added a revision to T15527: arc diff <differential.getcommitmessage> strlen(null) PHP 8.1 error: D25332: Fix DifferentialGetCommitMessageConduitAPIMethod execute strlen(null).
Jul 5 2023, 08:16 · PHP 8 support
Sten claimed T15527: arc diff <differential.getcommitmessage> strlen(null) PHP 8.1 error.
Jul 5 2023, 08:01 · PHP 8 support
Sten created T15527: arc diff <differential.getcommitmessage> strlen(null) PHP 8.1 error.
Jul 5 2023, 08:01 · PHP 8 support
Sten closed T15523: Browsing a file in Diffusion fails under PHP 8.1 with strlen(null) as Resolved by committing rP5e48e16f77fd: Update DiffusionDocumentRenderingEngine to cope with null code coverage in PHP….
Jul 5 2023, 07:44 · PHP 8 support
Sten closed T15523: Browsing a file in Diffusion fails under PHP 8.1 with strlen(null), a subtask of T15064: Make Phorge compatible with PHP 8.1/8.2/8.3/8.4, as Resolved.
Jul 5 2023, 07:44 · PHP 8 support
Sten closed D25330: Update DiffusionDocumentRenderingEngine to cope with null code coverage in PHP 8.1.
Jul 5 2023, 07:44
Sten committed rP5e48e16f77fd: Update DiffusionDocumentRenderingEngine to cope with null code coverage in PHP….
Update DiffusionDocumentRenderingEngine to cope with null code coverage in PHP…
Jul 5 2023, 07:44

Jul 4 2023

Sten requested review of D25330: Update DiffusionDocumentRenderingEngine to cope with null code coverage in PHP 8.1.
Jul 4 2023, 15:25
Sten added a revision to T15523: Browsing a file in Diffusion fails under PHP 8.1 with strlen(null): D25330: Update DiffusionDocumentRenderingEngine to cope with null code coverage in PHP 8.1.
Jul 4 2023, 15:25 · PHP 8 support
Sten claimed T15523: Browsing a file in Diffusion fails under PHP 8.1 with strlen(null).
Jul 4 2023, 15:21 · PHP 8 support
Sten created T15523: Browsing a file in Diffusion fails under PHP 8.1 with strlen(null).
Jul 4 2023, 15:21 · PHP 8 support
Sten updated the diff for D25329: Fix passing null to trim() error in DiffusionBrowseTableView render().

Remove earlier changes to DiffusionBrowseTableView

Jul 4 2023, 15:14
Sten requested review of D25329: Fix passing null to trim() error in DiffusionBrowseTableView render().
Jul 4 2023, 15:13
Sten added a revision to T15522: Top level diffusion repository view fails under PHP 8.1 with passing null to trim(): D25329: Fix passing null to trim() error in DiffusionBrowseTableView render().
Jul 4 2023, 15:13 · PHP 8 support
Sten claimed T15522: Top level diffusion repository view fails under PHP 8.1 with passing null to trim().
Jul 4 2023, 14:55 · PHP 8 support
Sten created T15522: Top level diffusion repository view fails under PHP 8.1 with passing null to trim().
Jul 4 2023, 14:55 · PHP 8 support
Sten requested review of D25328: Fix strlen(null) in DifferentialChangesetViewController loadCoverage().
Jul 4 2023, 14:19
Sten added a revision to T15521: Viewing a diff with code coverage for some but not all files fails with strlen(null) under PHP 8.1: D25328: Fix strlen(null) in DifferentialChangesetViewController loadCoverage().
Jul 4 2023, 14:19 · PHP 8 support
Sten claimed T15521: Viewing a diff with code coverage for some but not all files fails with strlen(null) under PHP 8.1.
Jul 4 2023, 14:12 · PHP 8 support
Sten created T15521: Viewing a diff with code coverage for some but not all files fails with strlen(null) under PHP 8.1.
Jul 4 2023, 14:12 · PHP 8 support
Sten updated the diff for D25323: Fix PHP 8.1 issue in DifferentialChangeset getOldStatePathVector().

Update as per peer review

Jul 4 2023, 12:50
Sten added a revision to T15520: git pull from PHP 8.1 Phorge using https URL fails with strlen() null error: D25327: PHP8.1 fix for DiffusionServeController serveRequest().
Jul 4 2023, 11:12 · PHP 8 support
Sten updated the summary of D25327: PHP8.1 fix for DiffusionServeController serveRequest().
Jul 4 2023, 11:12
Sten requested review of D25327: PHP8.1 fix for DiffusionServeController serveRequest().
Jul 4 2023, 11:12
Sten claimed T15520: git pull from PHP 8.1 Phorge using https URL fails with strlen() null error.
Jul 4 2023, 10:43 · PHP 8 support
Sten created T15520: git pull from PHP 8.1 Phorge using https URL fails with strlen() null error.
Jul 4 2023, 10:43 · PHP 8 support