Closed (fixed)
Project:
Token
Version:
5.x-1.14
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
8 Jun 2010 at 07:07 UTC
Updated:
29 Jul 2010 at 10:46 UTC
backport from Drupal 6.x brought ters vid issues.
There are 2 lines that referes term node vid and it makes SQL error.
$vid = db_result(db_query_range("SELECT t.vid FROM {term_node} r INNER JOIN {term_data} t ON r.tid = t.tid INNER JOIN {vocabulary} v ON t.vid = v.vid WHERE r.nid = %d ORDER BY v.weight, t.weight, t.name", $object->nid, 0, 1));
$term = db_fetch_object(db_query_range("SELECT t.tid, t.name FROM {term_data} t INNER JOIN {term_node} r ON r.tid = t.tid WHERE t.vid = %d AND r.vid = %d ORDER BY t.weight", $vid, $object->vid, 0, 1));
Comments
Comment #1
dave reidSorry about that. Fixed in CVS.
Comment #2
hidehisa commentedThank you for fixing it Dave, and thank you for maintaining this nice module!
Comment #3
hanoiiI just found out this one as well, thanks for the fix.
Isn't this an important enough issue to release a new version, or it's not critical?
Comment #4
hidehisa commented> Isn't this an important enough issue to release a new version
Yes, I thought 5.x-1.15 would be released soon, but it's taking long.
It might be because mainteiners are too busy developing 7.x branch to take care of old 5.x branch (which will be "discontinued" line when Drupal 7 is officially released).
I too hope fixed version of this module will be released soon.
Comment #5
dave reidThe 5.x-1.x-dev version has always been available for anyone who needs it: http://drupal.org/node/143907
Comment #6
Uppa commentedBut is it possible to fix the error without using the CVS version? Sorry, not an expert here :-(
Comment #8
westsyde commentedSure do hope someone finds the time to release version 5.x-1.15.. It would be awesome..