Skip to content

Conversation

@Steveb-p
Copy link
Contributor

@Steveb-p Steveb-p commented Dec 22, 2025

🎫 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:

Might be difficult to find cases in local product catalog where this occurs. This was reproduced in Quable Connector where thumbnail might not be present.

So, it might not be easily reproducible (and I don't have steps other than manual "breaking" of code). Sanities should be enough?

Documentation:

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

@tomaszszopinski
Copy link

tomaszszopinski commented Jan 28, 2026

Commerce regression: ibexa/commerce#1667 🟢

@alongosz alongosz merged commit 98253e9 into 4.6 Jan 29, 2026
27 checks passed
@alongosz alongosz deleted the fix-11130 branch January 29, 2026 10:03
@alongosz alongosz mentioned this pull request Jan 29, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants