Erroneous warning about CCK field population in devel_generate

akahn - September 25, 2008 - 19:34
Project:Devel
Version:5.x-0.4
Component:devel_generate
Category:bug report
Priority:normal
Assigned:Unassigned
Status:active
Description

On Drupal 5, with Devel 0.4 (or DRUPAL-5 for that matter), devel_generate prints this warning next to each CCK content type on admin/content/generate:

Warning. This type contains CCK fields which won't be populated. See this CCK issue.

That issue with CCK has since been closed and is fixed in CCK 1.8 and higher, according to the CHANGELOG. So for anyone with CCK version 1.8 or higher, this message is not correct and shouldn't display, since CCK now has the ability to generate dummy content for its various fields.

I'd like to try my hand at rolling a patch for this but I'm not sure how to check what version of a module a site has installed. Any ideas for how to go about doing that? Then a mini-patch will be forthcoming.

#1

akahn - September 30, 2008 - 16:21

Looks like this has been fixed in 6.x-1.x-dev? From line 92 of devel_generate.module:

This type contains CCK fields which will only be populated by fields that implement the content_generate hook.

 
 

Drupal is a registered trademark of Dries Buytaert.