Defect #3010

Settings name field too short for some plugins (30 characters)

Added by Eric Davis over 13 years ago. Updated over 13 years ago.

Status:ClosedStart date:2009-03-19
Priority:HighDue date:
Assignee:Eric Davis% Done:


Target version:0.9.0
Resolution:Fixed Affected version:


The field is current set to only allow 30 characters. This can cause problems with plugins since "plugin_" is appended to the plugin name by Settings and the plugin generator prefixs plugins with "redmine". That only leaves 16 characters for the plugin name. Since Redmine doesn't check that a plugin name is under 16 characters, I propose extending the field to 255.

20090318181151_extend_settings_name.rb Magnifier - Migration to extend the Settings table (235 Bytes) Eric Davis, 2009-03-19 01:04

Associated revisions

Revision 2599
Added by Eric Davis over 13 years ago

Extend the column so it can fit longer plugin names.



#1 Updated by Eric Davis over 13 years ago

  • Status changed from New to Closed
  • Target version set to 0.9.0
  • % Done changed from 0 to 100
  • Affected version (unused) set to devel
  • Resolution set to Fixed

Fixed in r2599. Should be released in 0.9 due to the database schema change.

#2 Updated by Eric Davis over 13 years ago

I'm attaching the migration here for anyone on 0.8.x that is affected. Nothing special will need to be done when upgrading to 0.9.0, Redmine will skip this migration if it's already been applied.


  1. Backup your database, just in case
  2. Download the file to your redmine_directory/db/migrate/ directory
  3. Run RAILS_ENV=production rake db:migrate

Also available in: Atom PDF