Defect #10450
Copy project Issues not working
| Status: | New | Start date: | ||
|---|---|---|---|---|
| Priority: | Normal | Due date: | ||
| Assignee: | - | % Done: | 0% | |
| Category: | - | |||
| Target version: | - | |||
| Affected version: | Resolution: | Cant reproduce |
Description
I'm using last SVN version of redmine. I've tryed to copy a project.
I select this:
Copy Members (1) Versions (4) Issue categories (0) Issues (8) Custom queries (0) Forums (0) Wiki pages (0)
The members, version are copied but not the issues. It doesn't create new issues for this project.
Related issues
History
#1 Updated by Etienne Massip about 1 year ago
- Resolution set to Cant reproduce
Sorry, can't reproduce.
Might be some plugin issue?
#2 Updated by Xiaochuan Lin 9 months ago
I also met this problem, I downloaded and installed the lastest Bitnami Redmine, 'bitnami-redmine-2.0.3-1-windows-installer-r01.exe'. When I copy a project, the members, version are copied but not the issues, i.e. the issues from the original project are not copied into the new project.
Look forward your help,
#3 Updated by Xiaochuan Lin 9 months ago
I also looked at the production.log file, and see the message,
"Project#copy_issues: issue #300 could not be copied: ..."
then I locate the code in the project.rb file,
------------
def copy_issues(project)
...
if new_issue.new_record?
logger.info "Project#copy_issues: issue ##{issue.id} could not be copied: #{new_issue.errors.full_messages}" if logger && logger.info
issues_map[issue.id] = new_issue
else
issues_map[issue.id] = new_issue unless new_issue.new_record?
end
...
---------------
but I couldn't figure it out.
I also look at ChangeLog from 0.8 to 2.0.3, didn't find about this, is this functionality already implemented in the latest Redmine?
By the way, is there an wasy way to change Bitnami Redmine from production to development mode so I don't have to restart the service (could take couple minutes) everytime I modify some code to debug it.
Thanks much for your help and advice!