Closed (fixed)
Project:
Node Auto Term [NAT]
Version:
5.x-1.1-beta
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
26 Jun 2007 at 17:42 UTC
Updated:
14 Jul 2007 at 14:16 UTC
Subtle bug : happens when nat_get_nids's static cache has been filled with $get_nodes = FALSE, and is being used by a a later call with $get_nodes = TRUE.
$nid_cache stores titles as values, nids are the keys.
Currently, the function calls node_load($title), which of course fails with a bang (invalid mySQL request).
Attached patch fixes this.
| Comment | File | Size | Author |
|---|---|---|---|
| nat.module.patch | 791 bytes | yched |
Comments
Comment #1
Zen commentedFixed in D5 and HEAD.
Cheers,
-K
Comment #2
(not verified) commented