When converting fields that use filtered text, format column gets skipped, update order gets messed up.

Ian Ward - July 15, 2008 - 12:52
Project:Node Convert
Version:6.x-1.5
Component:Code
Category:bug report
Priority:normal
Assigned:Unassigned
Status:active
Description

First, thanks for this module, it's pretty useful. I think I found a bug where if you're converting nodes that have fields that use filtered text, the ordering in the update gets messed up. At least, this seems to be what is happening. The format is stored in another column in the table, but the 'multiple' flag is not set, so the column gets skipped, and then the wrong values get updated in the database. I've attached a diff of what I think is working for now. I am on a deadline so I do not currently have the time to think about all the cases, but I wanted to report this issue and show the diff in case someone is able to look at it in the meantime. In the diff, I am just tricking it into using the multiple column case, when it finds a column called 'format'.

Ian

AttachmentSize
node_convert_formatted_text.diff1.56 KB

#1

agentrickard - October 18, 2009 - 17:20
Version:5.x-1.4» 6.x-1.5

This bug is still present.

 
 

Drupal is a registered trademark of Dries Buytaert.