Project

General

Profile

Defect #26789

Updated by Toshi MARUYAMA about 7 years ago

<pre> 
 Environment: 
   Redmine version                  3.3.0.stable 
   Ruby version                     2.1.9-p490 (2016-03-30) [x64-mingw32] 
   Rails version                    4.2.6 
   Environment                      production 
   Database adapter                 Mysql2 
 SCM: 
   Git                              2.13.3 
   Filesystem                      
 Redmine plugins: 
   no plugin installed 
 </pre> 

 


 +Description of the problem:+ 

 I want to copy an existing issue. Its field _assigned_to_ is empty. 
 In the issue form, I verify that the field is still empty, then click create. 

 Then the new issue has a user in the field _assigned_to_ 


 +First invesitgation:+ 

 I use a ruby debuger to run Redmine, and set a breakpoint in the function _create_ in issues_controller.rb. 

 !issue_controller.png! 

 * Before calling @issue.save => @issue.assigned_to is empty 
 * After calling @issue.save => @issue.assigned_to contains a user. 

Back