Skip to content

Conversation

@Steveb-p
Copy link
Contributor

🎫 Issue IBX-11130

Description:

This PR fixes an issue where Proxy initialization function was ignoring the fact that ThumbnailStrategy did not return an object.

Throughout our codebase we often rely on $thumbnail === null checks done against proxy. If subsequently a method is called on a proxy with initializer that allows returning null (which is usually the case with proxy) the error becomes very difficult to debug.

image

For QA:

Documentation:

@Steveb-p Steveb-p requested a review from a team December 22, 2025 19:42
Copy link
Contributor

@konradoboza konradoboza left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good apart from one remark. We need to at least run regressions on this one.

@sonarqubecloud
Copy link

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

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants