Currently pathcache_requirements() throws a REQUIREMENT_ERROR if there are no path aliases in the url_alias table. This means that pathcache cannot be enabled in an install profile, since there are no aliases yet, even if i fully intend to have aliases later. On the other hand, if i dont attempt to install pathcache in the install profile, I get errors when paths are looked up because of the missing cache_pathdst and cache_pathsrc tables.

I recommend using REQUIREMENT_WARNING on install and REQUIREMENT_ERROR on runtime.

Comments

jvandyk’s picture

Status: Active » Fixed

Simply changed to REQUIREMENT_WARNING.

Status: Fixed » Closed (fixed)

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