プロジェクト

全般

プロフィール

Vote #69789

完了

selected modules are not activated when copying a project

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

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

0%

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

説明

Defect is detected with redmine r5506 and a workaround is to comment line 120, in app/controllers/projects_controller.rb:

        @project.enabled_module_names = params[:enabled_modules]

I think that, anyway, this line is not good because here is an extract of the log file and controller should use params[:project][:enabled_module_names]:

bq. Processing ProjectsController#copy (for 132.166.52.226 at 2011-04-28 16:40:17) [POST]
Parameters: {"only"=>["members", "versions", "issue_categories", "issues", "queries", "boards", "wiki", ""], "commit"=>"Copier", "project"=>{"issue_custom_field_ids"=>[""], "name"=>"pipo", "enabled_module_names"=>["issue_tracking", "wiki", "repository", "calendar", "gantt", "bigbluebutton", "doodles", "scm_extensions", "synapse", "webdav", "wiki_extensions", ""], "tracker_ids"=>["3", "6", ""], "description"=>"", "homepage"=>"", "is_public"=>"0", "identifier"=>"pipo", "parent_id"=>"", "custom_field_values"=>{"7"=>""}}, "action"=>"copy", "authenticity_token"=>"XXXXXXXXXX", "id"=>"template-synapse", "controller"=>"projects"}

Kind regards,
Arnaud


journals

Confirmed, modules selected in copy page are not taken into account and checkboxes in the settings Modules tab of the newly created project are all unchecked.
--------------------------------------------------------------------------------

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

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

  • カテゴリAdministration_8 にセット
  • 対象バージョン1.1.3_34 にセット

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

いいね!0
いいね!0