プロジェクト

全般

プロフィール

Vote #67651

未完了

Adds Prompt for Project Custom Fields in migrate_from_trac task

Admin Redmine さんが約2年前に追加. 約2年前に更新.

ステータス:
New
優先度:
通常
担当者:
-
カテゴリ:
Custom fields_14
対象バージョン:
-
開始日:
2010/07/20
期日:
進捗率:

100%

予定工数:
category_id:
14
version_id:
0
issue_org_id:
5918
author_id:
17962
assigned_to_id:
0
comments:
0
status_id:
1
tracker_id:
2
plus1:
0
affected_version:
closed_on:
affected_version_id:
ステータス-->[New]

説明

The migrate_from_trac task fails if a redmine install has required custom fields on a project. To fix this issue, I added a loop that prompts the user to enter values for all the project custom fields, re-prompting if the input value does not validate for the custom field, and providing the default value as expected.

Also, if the project still fails to save for whatever reason, the errors are printed out. Previously, a "method not found on nil::nilClass" was being thrown, which is not as helpful, and was difficult to debug.

Admin Redmine さんが約2年前に更新

  • カテゴリCustom fields_14 にセット

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

いいね!0
いいね!0