-
Notifications
You must be signed in to change notification settings - Fork 1
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-8711: Added setting default for struct option in ContentFieldType #74
Conversation
Quality Gate passedIssues Measures |
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.
But please take a look why there is missing CoreSearch bundle in behat tests.
Also, if there is a slight chance that you could also remove dependency on
use Ibexa\Contracts\Core\Repository\Values\User\UserCreateStruct;
use Ibexa\Contracts\Core\Repository\Values\User\UserUpdateStruct;
here, and move that somehow to user bundle it would be great - or at least create issue for it as I have feeling it would bite us at some point.
The issue for removing the dependency: https://issues.ibexa.co/browse/IBX-9146 |
Quality Gate passedIssues Measures |
QA Approved on Ibexa DXP Commerce 4.6.14 |
Related PRs:
Description:
Option "struct" is required in Ibexa\ContentForms\Form\Type\Content\ContentFieldType but has no default value.
This caused a throwing exception when editing the uploaded image in imageAssetField, when creating a form in Ibexa\Bundle\ImageEditor\Controller\ImageAssetController::buildImageFieldTypeForm().
Added setting a default value for this option.