template-subtheme.php includes a query which updates the system table, but doesn't take into account the fact that a module using the same name as the subtheme also as an entry in the system table with the same name. When executed, this query causes my module to be turned off.
The attached patch simply adds to the WHERE clause causing it to update only where type = 'theme'.
| Comment | File | Size | Author |
|---|---|---|---|
| zen_subtheme_query.patch | 936 bytes | matt@antinomia |
Comments
Comment #1
johnalbinOkay, 2 points, Matt…
Committed to DRUPAL-5--1. I’ll probably release a Zen 5.x-1.1 in the next couple days, but the patched -dev version should show up in the next 12 hours.
Comment #2
matt@antinomia commentedThanks for the tip John. Can you be more specific about the hazards of using a module and theme with the same name? I've been doing it for quite some time now and have never had a problem until now (namespace collision or otherwise). In this case, I've written both the module and theme so I can guard against collisions. Do you think it's still important to use a different namespace?
Comment #3
Anonymous (not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.