backport from Drupal 6.x brought ters vid issues.

There are 2 lines that referes term node vid and it makes SQL error.

  • token_node.inc(94):
    $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));
  • token_node.inc(98):
    $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

dave reid’s picture

Status: Active » Fixed

Sorry about that. Fixed in CVS.

hidehisa’s picture

Thank you for fixing it Dave, and thank you for maintaining this nice module!

hanoii’s picture

I 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?

hidehisa’s picture

> 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.

dave reid’s picture

The 5.x-1.x-dev version has always been available for anyone who needs it: http://drupal.org/node/143907

Uppa’s picture

But is it possible to fix the error without using the CVS version? Sorry, not an expert here :-(

Status: Fixed » Closed (fixed)

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

westsyde’s picture

Sure do hope someone finds the time to release version 5.x-1.15.. It would be awesome..