Closed (fixed)
Project:
Vocabulary Index
Version:
6.x-1.x-dev
Component:
Code
Priority:
Critical
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
12 Jan 2008 at 21:09 UTC
Updated:
23 Jul 2013 at 23:55 UTC
When you have set up a vocabindex path for one of your vocabularies and when you want to submit the path setup from again, for instance when you have set up a path for another vocabulary, the old paths would cause errors, because there was a bug in checking whether a path was already in use by his vocabulary. This issue matches the code in vocabindex.admin.inc at lines 102 and 103:
Old:
$result=db_result(db_query("SELECT vid FROM {vocabindex} WHERE path = '%s'", $path));
$message=vocabindex_check_index($result->vid, $path);
New:
$vid=db_result(db_query("SELECT vid FROM {vocabindex} WHERE path = '%s'", $path));
$message=vocabindex_check_index($vid, $path);
This issue has been fixed and will be committed to CVS right away.
Comments
Comment #1
Anonymous (not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.
Comment #2
xano