flexiconvert 4.7.x-0.3

starbow - October 12, 2007 - 00:06
Official release from CVS tag: DRUPAL-4-7--0-3
First released: October 12, 2007 - 00:06
Download: flexiconvert-4.7.x-0.3.tar.gz
Size: 8.97 KB
md5_file hash: 21c5e4ec9bf38b6a700682987a15b905
Last updated: October 12, 2007 - 00:10
View usage statistics for this release

Collection of patches from the issue queue, rolled together by Josiah (siah).

(Unreported?) Bug: failed attempt to copy text_area's formating from flexinode. Failure results from cck column not existing.
Solution (tested, works): check for existence of 'format' column before issuing an update on it.

Bug: Funny characters in cck fields names are incorrectly translated to column names.
http://drupal.org/node/139801
Solution (tested, works): remove funny characters and limit the maximum length of the field name. Used patch, then expanded it to cover more characters.

Bug: No conversion of timestamp or checkboxes
http://drupal.org/node/141733
Solution (tested, works): Patch did not copy false values from checkboxes because of the if statement was confusing a numeric value of 0 with the value not existing. I fixed by using the more formal test of "array_key_exists", and applied that pattern to all the other if statements in that block.

Bug: No conversion of email, checkbox or select
http://drupal.org/node/139803
Solution (tested, works): Used email portion of patch. Works fine if cck's email module is installed.
Solution (tested, works): Merged Select portion of patch into timestamp/checkbox block. Tested that it copies the select field only if it is populated.

-- Notes --
* Enable Date API before defining CCK date fields
* CCK select field needs to be an Integer type rather than a text type. Remember to follow ptalindstrom's advise from response #5 on the referenced thread and manually set up the CCK select field to exactly match the values of the old flexinode convert field.

 
 

Drupal is a registered trademark of Dries Buytaert.