Closed (fixed)
Project:
Workflow
Version:
5.x-2.x-dev
Component:
Code
Priority:
Minor
Category:
Support request
Assigned:
Reporter:
Created:
2 Jun 2008 at 22:34 UTC
Updated:
13 Aug 2008 at 06:35 UTC
When trying to delete a content item I keep getting this error, and can't seem to delete the content item:
user warning: Out of range value adjusted for column 'sid' at row 1 query: INSERT INTO workflow_node_history (nid, old_sid, sid, uid, comment, stamp) VALUES (0, 0, -1, 2, 'Node deleted', 0) in C:\Apache2.2\htdocs\connections\includes\database.mysql.inc on line 172.
Any idea what it means? or how to fix it? I think it's related to workflow...
Comments
Comment #1
hillaryneaf commentedChanging to support request... may not be a bug just yet...
Comment #2
jvandyk commentedThe sid column of workflow is 'unsigned' in the database. Clearly it should not be, since we are putting an -1 into it.
Comment #3
hillaryneaf commentedI found this to be a problem with encoding... UTF-8/Unicode issue... not relevant to workflow
Comment #4
hillaryneaf commentedI noticed I'm still having this issue... it does seem to be related to workflow.
"The sid column of workflow is 'unsigned' in the database"
How can I fix this?
Comment #5
jvandyk commentedYou can fix it by issuing the following SQL to your database. I will get this rolled into an update.
ALTER TABLE workflow_node_history CHANGE sid sid INT( 10 ) NOT NULL DEFAULT '0'Comment #6
shariharan commenteduser warning: Out of range value adjusted for column 'sid' at row 1 query: INSERT INTO workflow_node_history (nid, old_sid, sid, uid, comment, stamp) VALUES (900, 0, -1, 14, 'Node deleted', 0) in C:\Apache2.2\htdocs\mySite\includes\database.mysql.inc on line 172.This is the error that I get.
EDIT: The error was fixed with the SQL above. -Thanks
Comment #7
jvandyk commentedComment #8
mengweifu1985 commentedComment #9
Anonymous (not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.