Skip to content

Fix wrapped exception access when keys are not sequential#327

Closed
tuxes3 wants to merge 37 commits into
patchlevel:3.17.xfrom
tuxes3:3.18.x
Closed

Fix wrapped exception access when keys are not sequential#327
tuxes3 wants to merge 37 commits into
patchlevel:3.17.xfrom
tuxes3:3.18.x

Conversation

@tuxes3

@tuxes3 tuxes3 commented Jul 15, 2026

Copy link
Copy Markdown
Contributor

getWrappedExceptions() may return a non-sequentially keyed array, so accessing [0] could miss the exception; normalize with array_values() first.

This might open a BC as users are catching the HandlerFailedExceptions ...

DanielBadura and others added 30 commits June 3, 2026 11:22
…til-getting-started

Remove deprecated `SubscriberUtil` from the getting started docs
…acing

Fix icon spacing in webprofiler menu
Migrate docs from mkdocs to patchlevel.dev
| datasource  | package                | from   | to     |
| ----------- | ---------------------- | ------ | ------ |
| github-tags | shivammathur/setup-php | 2.37.0 | 2.37.2 |


Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
| datasource  | package          | from   | to     |
| ----------- | ---------------- | ------ | ------ |
| github-tags | actions/checkout | v6.0.3 | v7.0.0 |


Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
…eckout-7.x

Update actions/checkout action to v7
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
renovate Bot and others added 7 commits July 9, 2026 00:46
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
getWrappedExceptions() may return a non-sequentially keyed array, so accessing
[0] could miss the exception; normalize with array_values() first.

Signed-off-by: Nicolo Singer <nicolo@whatwedo.ch>
@DanielBadura DanielBadura added the bug Something isn't working label Jul 15, 2026
@DanielBadura
DanielBadura changed the base branch from 3.18.x to 3.17.x July 15, 2026 18:09
@DanielBadura

Copy link
Copy Markdown
Member

I cherry-picked your commit into #328 as i want to merge it into 3.17.x and release it as a bug fix with 3.17.1. Also updated the testcases, thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants