プロジェクト

全般

プロフィール

Vote #81766

完了

Error on roadmap creation after migrating to 4.2.3

Admin Redmine さんがほぼ4年前に追加. ほぼ4年前に更新.

ステータス:
Closed
優先度:
通常
担当者:
-
カテゴリ:
Roadmap_22
対象バージョン:
-
開始日:
2022/05/09
期日:
進捗率:

0%

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

説明

I recently migrated our redmine version from 3.3.x to 4.2.3 about 2 months ago. Today it was noticed that we are no longer able to create new versions for the roadmap. I removed all plugins to make sure it wasn't plugin-related.

I get the error "Status is not included in the list" when I hit the Create button. However, there is no Status field to fill in.

!CreateVersion.png!

Environment:
  Redmine version                4.2.3.stable
  Ruby version                   2.6.6-p146 (2020-03-31) [x86_64-linux-gnu]
  Rails version                  5.2.6
  Environment                    production
  Database adapter               Mysql2
  Mailer queue                   ActiveJob::QueueAdapters::AsyncAdapter
  Mailer delivery                smtp
SCM:
  Subversion                     1.13.0
  Mercurial                      5.3.1
  Cvs                            1.12.13
  Bazaar                         3.0.2
  Git                            2.33.1
  Filesystem                     
Redmine plugins:
  no plugin installed

The logs don't print any error messages when this happens.

==> ../redmine-logs/redmine/production.log <==
Started POST "/redmine/projects/rm_testing/versions" for 127.0.0.1 at 2022-01-04 19:16:49 +0000
Processing by VersionsController#create as HTML
  Parameters: {"utf8"=>"✓", "authenticity_token"=>"", "back_url"=>"/redmine/projects/rm_testing/roadmap", "version"=>{"name"=>"Version 1", "description"=>"Test", "wiki_page_title"=>"", "effective_date"=>"", "sharing"=>"none", "default_project_version"=>"0", "custom_field_values"=>{"7"=>"In Progress"}}, "commit"=>"Create", "project_id"=>"rm_testing"}
  Current user: jcormier (id=360)
  Rendering versions/new.html.erb within layouts/base
  Rendered versions/_form.html.erb (17.6ms)
  Rendered versions/new.html.erb within layouts/base (18.9ms)
Completed 200 OK in 169ms (Views: 82.7ms | ActiveRecord: 68.0ms)

==> ../redmine-logs/nginx/redmine_access.log <==
10.1.8.4 - - [04/Jan/2022:19:16:49 +0000] "POST /redmine/projects/rm_testing/versions HTTP/1.1" 200 9445 "http://10.0.0.23:10083/redmine/projects/rm_testing/versions" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/96.0.4664.110 Safari/537.36"

journals

Note this doesn't fail on a blank/fresh install of 4.2.3 so must be an issue with the migration?
--------------------------------------------------------------------------------
I think is the same problem reported in #27319, can you take a look on your table definition?
--------------------------------------------------------------------------------
Yes that looks like the same issue. I can post on that redmine instead.
--------------------------------------------------------------------------------
Could you mark this as a duplicate and close it?
--------------------------------------------------------------------------------

--------------------------------------------------------------------------------
Jonathan Cormier wrote:
> Could you mark this as a duplicate and close it?

Done, thanks for your feedback.
--------------------------------------------------------------------------------


related_issues

duplicates,Needs feedback,27319,Impossible to create a new version

Admin Redmine さんがほぼ4年前に更新

  • カテゴリRoadmap_22 にセット

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

いいね!0
いいね!0