Closed (fixed)
Project:
GeSHi Filter for syntax highlighting
Version:
6.x-1.1
Component:
Code
Priority:
Critical
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
25 Jan 2009 at 01:32 UTC
Updated:
31 Jan 2010 at 10:31 UTC
Jump to comment: Most recent file
Comments
Comment #1
soxofaan commentedThanks for pointing this out
I think #476606: GeSHi node bombed when editing a source code node with a new node revision is a sign of this error
I will look into this when I have more time
About the patch: I think there is also need for a geshi_node_update _N() function to update existing tables.
Comment #2
Scott Reynolds commentedsure the update function is drop primary key add primary key.
edit: and change the db column type by removing autoincrement, whatchma call it on postgres
Comment #3
emjayess commentedjust attaching the screenshot I took for the duplicate ticket I created in #476606 mentioned above.
Comment #4
soxofaan commentedshould be fixed by
http://drupal.org/cvs?commit=234318
(also includes upgrade path)
Comment #6
drecute commentedI noticed that whenever I edit a node that contains a Geshifilter source code node and hit save, the formatting of the Geshifilter source code node goes off(I mean breaks and returns just normal HTML). This means to me that the Geshifilter source code node does not remember the state it was before the node edit. So it tries to rewrite what has already been saved which tends to break the code.
I believe this problem has to do with revisions, that's why I am reporting it here.