Drupal 7 uses the path_save() function to create new aliases instead of path_set_alias(). This function takes an associative array as an argument - http://api.drupal.org/api/function/path_save/7

The attached patch fixes a bug where checking the 'Add an url alias for each node.' box would result in the following error:

Fatal error: Call to undefined function path_set_alias() in /var/www/html/drupal-7.x-dev/sites/default/modules/devel/devel_generate.module on line 255

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

Dave Reid’s picture

Status: Active » Needs work

Need proper coding standard formatting.

basic’s picture

FileSize
939 bytes

Sorry about that! Hopefully this is better?

Dave Reid’s picture

Status: Needs work » Fixed

Committed to CVS. Thanks!
http://drupal.org/cvs?commit=308172

Status: Fixed » Closed (fixed)

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