Restream / redmine_tagging

Add simple tagging support to Redmine Issues/Wiki pages
113 stars 52 forks source link

Error on upgrade to master #6

Closed whitequark closed 13 years ago

whitequark commented 13 years ago

After I've upgraded to master branch and installed the required gem, trying to search for a tag (by going through it's link) results in following error:

ActiveRecord::StatementInvalid (Mysql::Error: Table 'redmine.issue_tags' doesn't exist: SELECT count(DISTINCT `issues`.id) AS count_all FROM `issues`  LEFT OUTER JOIN `projects` ON `projects`.id = `issues`.project_id  LEFT OUTER JOIN `journals` ON `journals`.journalized_id = `issues`.id AND `journals`.journalized_type = 'Issue' LEFT OUTER JOIN `issue_tags` ON issue_tags.issue_id = issues.id WHERE ((projects.status=1 AND projects.id IN (SELECT em.project_id FROM enabled_modules em WHERE em.name='issue_tracking') AND issues.project_id IN (5)) AND (((LOWER(subject) LIKE '%Наемник%') OR (LOWER(issues.description) LIKE '%Наемник%') OR (LOWER(journals.notes) LIKE '%Наемник%') OR (LOWER(issue_tags.tag) LIKE '%Наемник%') OR issues.id IN (SELECT customized_id FROM custom_values WHERE customized_type='Issue' AND customized_id=issues.id AND LOWER(value) LIKE '%Наемник%' AND custom_values.custom_field_id IN (1))))) ):
  app/controllers/search_controller.rb:77:in `index'
  app/controllers/search_controller.rb:76:in `each'
  app/controllers/search_controller.rb:76:in `index'

Also, a spurious tag called "index" has appeared on my main wiki page and in the tagcloud.

retorquere commented 13 years ago

You must run rake db:migrate_plugins

whitequark commented 13 years ago

Perhaps you should add this to README?

whitequark commented 13 years ago

Oh. You already did, as I see.