Closed (fixed)
Project:
Token
Version:
7.x-1.x-dev
Component:
Code
Priority:
Minor
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
2 Mar 2012 at 20:21 UTC
Updated:
5 Jul 2013 at 23:36 UTC
Jump to comment: Most recent file
This simple patch tests for the existence of the table before attempting the creation of the table, which avoids the PDO
"DatabaseSchemaObjectExistsException: Table cache_token already exists."
error that causes the entire update hook to fail.
| Comment | File | Size | Author |
|---|---|---|---|
| #1 | token_safely_create_table_1464928.patch | 525 bytes | senpai |
Comments
Comment #1
senpai commentedComment #2
dave reidThanks. Committed with a minor tweak to http://drupalcode.org/project/token.git/commit/a2d2622
Comment #4
monti commentedreopen this issue. it is still not fixed at 7.x-1.1.
Comment #5
dave reidHow is this not fixed? Please try again.
Comment #6
jmaguniaNot sure why but I had this problem too in the 1.5 version. I cleared all caches, ran updates, and cron.
I took a look at cache_token and it didn't have any entries so I dropped it.
The install went fine after that.