The following prepopulate URI (from the old Julian Bond bookmarklet) worked fine with Drupal 4.x, but with the new DRUPAL-5 cvs prepopulate.module, the title of the new post is filled out correctly, but the body area is left completely blank:

/node/add/blog?edit[title]=this%20is%20the%20title&edit[body]=body%20goes%20here

this is the example given in the prepopulate.module docs. The edit page loads as expected, the title is set which appears to confirm permissions to post, but the body is empty.

in the package for prepopulate.info,v 1.1 (2007/01/27 16:07:05 eafarris) the docs do say we need to grant permissions:

3. For each content type that you want to allow prepopulating, set the
prepopulate checkbox in admin/settings/content-types

but I see no such checkbox at that path in 5.x, and no settings appear for either the prepopulate.module, or for permissions or the configuration for blogs or nodes.

the prepopulate module is really very small; 'workflow' is mentioned in the code, so is it possible the docs have failed to state a dependency?

Comments

eafarris’s picture

Component: Code » Documentation
Category: bug » task

The bug report is actually a duplicate of http://drupal.org/node/81945 but the dox should be updated to reflect the changes necessary for 5.0.

eafarris’s picture

Title: Body text is ignored » Documentation should reference the new syntax needed to prepopulate a node body

(updating the title)

eafarris’s picture

The DRUPAL-5 branch now includes a USAGE.txt file:

http://cvs.drupal.org/viewvc.py/drupal/contributions/modules/prepopulate...

As soon as I figure out how to add it to the tagged releases, this should be fixed.

eafarris’s picture

Version: 5.x-1.1 » 5.x-1.2
Assigned: Unassigned » eafarris
Status: Active » Fixed

Release 5.x-1.2 includes a USAGE.txt file with lots of examples.

Anonymous’s picture

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for two weeks with no activity.