Project

General

Profile

Actions

Defect #37276

closed

When creating a new version - get "Status is not included in the list"

Added by Richard Hafenscher over 2 years ago. Updated almost 2 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
Roadmap
Target version:
-
Start date:
Due date:
% Done:

0%

Estimated time:
Resolution:
Invalid
Affected version:

Description

When I try to create a new version in the projects roadmap I get this error:
"Status is not included in the list"
and the version is not created. Sreenshot attached.

My installation:

  Redmine version                4.2.6.stable
  Ruby version                   2.5.9-p229 (2021-04-05) [x86_64-linux-gnu]
  Rails version                  5.2.8
  Environment                    production
  Database adapter               Mysql2
  Database                       MariaDB 10.5.16

I removed all plugins for testing and did a fresh installation using the existing database, but the error persists.

However, if I create a new database the error is gone and the version gets created successfully.

There is no error in the production.log to see:

Started POST "/projects/kundenmeldungen/versions" for 188.23.203.175 at 2022-06-23 14:04:34 +0200
Processing by VersionsController#create as HTML
  Parameters: {"utf8"=>"\u2713", "authenticity_token"=>"<HIDDEN>==", "back_url"=>"/projects/kundenmeldungen/versions/new?back_url=", "version"=>{"name"=>"Test 0.1", "description"=>"Testversion 01", "wiki_page_title"=>"", "effective_date"=>"2023-06-23", "sharing"=>"none", "default_project_version"=>"0"}, "commit"=>"Create", "project_id"=>"kundenmeldungen"}
  Current user: <HIDDEN> (id=15)
  Rendering versions/new.html.erb within layouts/base
  Rendered versions/_form.html.erb (5.6ms)
  Rendered versions/new.html.erb within layouts/base (6.4ms)
Completed 200 OK in 50ms (Views: 24.1ms | ActiveRecord: 12.3ms)

Anyone any idea, how to resolve this. Seems it's something wrong in the database, but I've no idea where to look.


Files

Actions

Also available in: Atom PDF