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

Incorrect integer value for column 'job_id' #61

Closed
tanyiknie opened this issue Jun 25, 2018 · 4 comments
Closed

Incorrect integer value for column 'job_id' #61

tanyiknie opened this issue Jun 25, 2018 · 4 comments

Comments

@tanyiknie
Copy link

Hi, I have encountered an error during sending the newsletter post. Below is the logged info:

PDOException: SQLSTATE[HY000]: General error: 1366 Incorrect integer value: 'J1So6ywpZLWphxeeRwVbHfV3h8hK7AfS' for column 'job_id' at row 1 in /apps/xxxx/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOStatement.php:105

I checked the database table for column "job_id", the current type is "int(10)". Should it be "varchar(255)" type instead?

@TimFoerster
Copy link
Contributor

oh no, what ocms build do you use?
Didn't noticed that the job id type has changed

@TimFoerster
Copy link
Contributor

TimFoerster commented Jun 26, 2018

@tanyiknie what is your queue driver?

@tanyiknie
Copy link
Author

@TimFoerster , the info as below:
ocms build: 430
QUEUE_DRIVER=redis

@TimFoerster
Copy link
Contributor

TimFoerster commented Jul 30, 2018

Yeah its related to redis where the job id is a string, feel free to make a PR

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

No branches or pull requests

2 participants