Setting shortcut links in bean_install() is causing installation to fail when an install profile lists bean as a dependency.

Either remove this from the install hook, or list the shortcut module as a dependency.

PHP Fatal error:  Call to undefined function shortcut_default_set() in [...]/bean.install on line 208
Drush command terminated abnormally due to an unrecoverable error.                                [error]
Error: Call to undefined function shortcut_default_set() in [...]/bean.install, line 208

Comments

darrenmothersele’s picture

StatusFileSize
new1010 bytes

Patch attached that checks for shortcut module before calling shortcut_set_save().

indytechcook’s picture

Status: Active » Fixed

Thank you so much. That was a terrible thing for me to do.

http://drupal.org/commitlog/commit/22232/ef193ad0cf46c25a2e49580017d77be...

Status: Fixed » Closed (fixed)

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