Actions
Defect #3010
closedSettings name field too short for some plugins (30 characters)
Start date:
2009-03-19
Due date:
% Done:
100%
Estimated time:
Resolution:
Fixed
Affected version:
Description
The settings.name
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.
Files
Updated by Eric Davis over 15 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.
Updated by Eric Davis over 15 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.
Steps:
- Backup your database, just in case
- Download the file to your
redmine_directory/db/migrate/
directory - Run
RAILS_ENV=production rake db:migrate
Actions