Skip to content
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

Fix saving CollectionVersionBlocks.cbEnableBlockContainer with strict MySQL #2833

Merged

Conversation

mlocati
Copy link
Contributor

@mlocati mlocati commented Jul 29, 2015

This fixes the exception thrown at install time when MySQL is configured with STRICT_TRANS_TABLES:

[Doctrine\DBAL\Exception\DriverException]
An exception occurred while executing
'insert into CollectionVersionBlocks (cID, cvID, bID, arHandle, cbDisplayOrder, isOriginal, cbOverrideAreaPermissions, cbOverrideBlockTypeCacheSettings, cbOverrideBlockTypeContainerSettings, cbEnableBlockContainer) values (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)'
with params ["155", "1", "40", "Main", 0, 0, 0, 0, 0, false]:
SQLSTATE[HY000]: General error: 1366 Incorrect integer value: '' for column 'cbEnableBlockContainer' at row 1

aembler added a commit that referenced this pull request Jul 31, 2015
Fix saving CollectionVersionBlocks.cbEnableBlockContainer with strict MySQL
@aembler aembler merged commit c13915a into concretecms:develop Jul 31, 2015
@mlocati mlocati deleted the mysqlstrict-cbEnableBlockContainer branch August 1, 2015 05:56
@altitudems
Copy link

Was this not included into 5.7.5? I'm still getting that error after upgrade.

@aembler
Copy link
Member

aembler commented Aug 14, 2015

This has been pulled in to the release branch for 5.7.5.1, which should fix
the issue. It was not included in 5.7.5.

On Fri, Aug 14, 2015 at 7:06 AM, altitudems notifications@github.com
wrote:

Was this not included into 5.7.5? I'm still getting that error after
upgrade.


Reply to this email directly or view it on GitHub
#2833 (comment).

@altitudems
Copy link

Thank you

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants