Patch #20512

Project.copy_from deletes enabled_modules on source

Added by Ondřej Ezr over 2 years ago. Updated over 2 years ago.

Status:ClosedStart date:
Priority:HighDue date:
Assignee:Jean-Philippe Lang% Done:

0%

Category:Projects
Target version:3.0.5

Description

project#enabled_modules = project.enabled_modules causing troubles, because there are ids copied, therefore rails somehow end up with updating old enabled_modules to match new project_id, so they are not copied, but transfered.

redmine_copy_project.patch Magnifier - Project.copy_from (662 Bytes) Ondřej Ezr, 2015-08-11 18:12

Associated revisions

Revision 14508
Added by Jean-Philippe Lang over 2 years ago

Project.copy_from deletes enabled_modules on source (#20512).

Fix by Ondřej Ezr.

History

#1 Updated by Jean-Philippe Lang over 2 years ago

  • Status changed from New to Resolved
  • Assignee set to Jean-Philippe Lang
  • Target version set to 3.1.1

Patch committed in r14508 with a test, thanks.

#2 Updated by Jean-Philippe Lang over 2 years ago

  • Status changed from Resolved to Closed
  • Target version changed from 3.1.1 to 3.0.5

Also available in: Atom PDF