プロジェクト

全般

プロフィール

Vote #64914

完了

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

Admin Redmine さんが3年以上前に追加. 3年以上前に更新.

ステータス:
Closed
優先度:
高め
担当者:
-
カテゴリ:
Database_21
対象バージョン:
開始日:
2009/03/19
期日:
進捗率:

100%

予定工数:
category_id:
21
version_id:
6
issue_org_id:
3010
author_id:
5
assigned_to_id:
5
comments:
2
status_id:
5
tracker_id:
1
plus1:
0
affected_version:
closed_on:
affected_version_id:
ステータス-->[Closed]

説明

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.


journals

Fixed in r2599. Should be released in 0.9 due to the database schema change.
--------------------------------------------------------------------------------
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@

--------------------------------------------------------------------------------

Admin Redmine さんが3年以上前に更新

  • カテゴリDatabase_21 にセット
  • 対象バージョン0.9.0_6 にセット

他の形式にエクスポート: Atom PDF

いいね!0
いいね!0