Details
-
Bug
-
Resolution: Unresolved
-
High
-
None
-
4.2.0, 4.2.x-dev
-
Ibexa Content
Description
Preconditions:
- Added an Attribute group and based on it an attribute checkbox
- Added Product type based on Attribute group (with selected an option Used for product variants)
- Added Product based on Product type
Steps to reproduce:
- Log in to back office.
- Go to Product catalog / Attribute groups.
- Remove an Attribute group mentioned in preconditions.
- Verify displayed notification message.
Actual result:
See attached screenshots.
Incorrect notification message while user trying remove an Attribute group which is related with Product type.
An exception occurred while executing 'DELETE FROM ibexa_attribute_group WHERE identifier = ?' with params ["att_group"]: SQLSTATE[23000]: Integrity constraint violation: 1451 Cannot delete or update a parent row: a foreign key constraint fails (`flexcommercemaster42`.`ibexa_attribute_definition_assignment`, CONSTRAINT `ibexa_attribute_definition_assignment_attribute_definition_fk` FOREIGN KEY (`attribute_definition_id`) REFERENCES `i)
Expected result:
Correct notification message that Attribute group cannot be removed because is related with a Product type which is used.
Designs
Attachments
Issue Links
- mentioned in
-
Page Loading...