Project

General

Profile

Actions

Defect #41502

open

Custom field values for versions are not copied when copying a project that includes versions

Added by Minoru Maeda about 1 month ago. Updated 11 days ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
-
Start date:
Due date:
% Done:

0%

Estimated time:
Resolution:
Affected version:

Description

When copying a project that includes versions, the versions themselves are copied, but any values entered in the custom fields for those versions are not.

Steps to Reproduce:

1. Go to "Custom fields » Versions » New custom field" and create a custom field (e.g., text format) for versions.
2. Create a version for a project.
3. Enter a value in the custom field for the version and save it.
4. Navigate to "Administration > Projects" and click "Copy" in the "Action" column for the project. In the "New project" screen, select "Versions (N) and Files" to include versions in the copy.
5. While the version itself is copied, the custom field values entered for the original version are not copied.

Redmine Infomation:

https://svn.redmine.org/redmine/trunk@23140

Environment:
  Redmine version                5.1.3.devel
  Ruby version                   3.2.5-p208 (2024-07-26) [aarch64-linux]
  Rails version                  7.2.1.1
  Environment                    development
  Database adapter               PostgreSQL
  Mailer queue                   ActiveJob::QueueAdapters::AsyncAdapter
  Mailer delivery                smtp
Redmine settings:
  Redmine theme                  Default
SCM:
  Subversion                     1.14.2
  Mercurial                      6.3.2
  Bazaar                         3.3.2
  Git                            2.46.1
  Filesystem                     
Redmine plugins:
  no plugin installed

Files

fix-41502.patch (1.55 KB) fix-41502.patch Takenori TAKAKI, 2024-10-29 06:15
Actions

Also available in: Atom PDF