This causes issues when doing a fresh Drupal installation. The code path takes you down to 'drupal_path_alias_whitelist_rebuild' which throws an error saying "Base table or view not found: url_alias doesn't exist". This might not be the case when installing the module after the fact, but it definitely fails on installation when it's a dependency of an install profile.

CommentFileSizeAuthor
#2 2547401-no-l-in-hook_requirements.patch733 bytesSam152
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

Sam152 created an issue. See original summary.

Sam152’s picture

Status: Active » Needs review
FileSize
733 bytes
jibran’s picture

Status: Needs review » Reviewed & tested by the community

Look good to me.

  • das-peter committed 4e29dcf on 7.x-2.x authored by Sam152
    Issue #2547401 by Sam152: Don't use l() function in hook_requirements
    
das-peter’s picture

Status: Reviewed & tested by the community » Fixed

Hmm, I liked the link ;) But right now I'm to lazy to try to use drupal_installation_attempted() or something similar to make this conditional. Oh wait, wasn't there a status given for the hook?
However, fixed for now ;) Thanks for the patch and the review!

Status: Fixed » Closed (fixed)

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