Details
Description
Steps to reproduce
- Create Ibexa instance installed on PostgreSQL
- Create more than 32 languages
- Try creating a Content item in language which ID overflows 2^32 (or use the language with the highest ID, if you created more than 32).
Actual result
See Database error, e.g.:
An exception occurred while executing 'INSERT INTO ezcontentobject_name (contentobject_id, content_version, content_translation, name, language_id, real_translation) VALUES(?, ?, ?, ?, (SELECT CASE WHEN (initial_language_id = ? AND (language_mask & ?) <> 0 ) THEN (? | 1) ELSE ? END FROM ezcontentobject WHERE id = ?), ?)' with params [66, 3, "pol-PL", "Article", 281474976710656, 281474976710656, 281474976710656, 281474976710656, 66, "pol-PL"]: SQLSTATE[22003]: Numeric value out of range: 7 ERROR: value "281474976710656" is out of range for type integer
Expected result
Content item gets created with no issues.
Designs
Attachments
Issue Links
- discovered while testing
-
IBX-4003 Spike: removal of the 62 languages limit
- Closed