Closed (fixed)
Project:
Taxonomy Access Control Lite
Version:
5.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Reporter:
Created:
21 May 2008 at 10:51 UTC
Updated:
4 Jun 2008 at 17:24 UTC
I encountered an error with a node which had no taxonomy associations to any of the terms in the configured vocabularies. For some reason, Drupal 5.7 gives an empty $term in this case in your foreach of $node->taxonomy in _tac_lite_get_terms(). The attached patch makes sure to only add the $term if it is indeed something positive (not an empty string as I experience).
Patch created from a local SVN copy but should apply just fine to the 5.x version.
| Comment | File | Size | Author |
|---|---|---|---|
| tac_lite_error.patch | 497 bytes | gábor hojtsy |
Comments
Comment #1
Dave Cohen commentedGabor,
Looks like you're using HEAD. Use DRUPAL-5 branch instead. There is already a fix for that and other issues. Open this bug back up if I'm wrong about that.
It's hard these days to figure out which branch of any given project to use.
-Dave
Comment #2
Anonymous (not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.