-
Notifications
You must be signed in to change notification settings - Fork 9
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
IBX-2264: Handled empty Thumbnail ProxyObject #91
Conversation
Kudos, SonarCloud Quality Gate passed! 0 Bugs No Coverage information |
@adamwojs |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
QA Approved on Ibexa Commerce 3.3.15 with diff.
Also tested on NFS.
btw, cross merge workflow for bot it missing in this repo. PR in new org will have to be opened manually. |
v3.3
Right now
getThumbnail
can never benull
(but this is what we have in the interface so this is an inconsistency) due to the implementation ofProxyObject
, this can cause problems like the one described in the ticket. Potentially later on we could implement some decoy thumbnail or allow Thumbnail withnull
as a resource and change the interface.Related
ezplatform-kernel
PR: ezsystems/ezplatform-kernel#288TODO:
$ composer fix-cs
).