Details
-
Bug
-
Resolution: Fixed
-
Blocker
-
4.3.0-rc1, 3.3.27, 4.2.2
-
nightly
-
[4.3] - Sprint 6
-
Ibexa Content
Description
Dev update: QA see simplified steps at the end please.
Steps:
- I created a new product type with color and measurement attributes https://master-7rqtwti-v5p5smejfqk2u.fr-4.platformsh.site/admin/contenttypegroup/4/contenttype/306/update
- I added "External product data (sesexternaldata)" to Fields of this product type
- I added a category: Computers & Laptops and a subcategory: Business laptops
- Then I wanted to create a new product, and assign a subcategory: Business laptops
- In Create form, "SEO Meta tags" section occurred.
- I tried to save this product:
- 500 error occurred:
- I clicked "Back" and the error notification with some details was displayed:
Simplified steps
On any DXP edition, clean install:
- Create Product Type with "External product data" (sesexternaldata) Field.
- Try creating a new product (it's enough to fill name and code)
- Observe 500 exception (for me it's `Call to a member function getBaseUrl() on null` when handling exception[1])
- See the last entry in var/log/<your_environment>.log and observe the mentioned error:
Argument 1 passed to Ibexa\Commerce\FieldTypes\FieldType\SesExternalData\Type::toHash() (...)
[1] An expception when handling an exception seems to be a separate issue.