Details
-
Bug
-
Resolution: Fixed
-
Critical
-
4.5.0, 3.3.33
Description
SQL statement is visible in duplicate segment id exception.
Steps:
- In Admin / Segment Groups select a group.
- Deliberately add two segments with the same id.
Actual result: Exception is visible in UI:
An exception occurred while executing 'INSERT INTO `ibexa_segments` (identifier, name) VALUES(?, ?)' with params ["sa", "sa"]: SQLSTATE[23000]: Integrity constraint violation: 1062 Duplicate entry 'sa' for key 'ibexa_segments_identifier'
Expected result: User-friendly error message is displayed.