Intedation
This commit is contained in:
parent
9c5a0b874d
commit
7aae031602
@ -1,7 +1,5 @@
|
|||||||
Redmine DMSF Plugin
|
Redmine DMSF Plugin 3.0.7 devel
|
||||||
===================
|
===============================
|
||||||
|
|
||||||
The current version of Redmine DMSF is **3.0.7 devel**
|
|
||||||
|
|
||||||
[](https://github.com/danmunn/redmine_dmsf/actions/workflows/rubyonrails.yml)
|
[](https://github.com/danmunn/redmine_dmsf/actions/workflows/rubyonrails.yml)
|
||||||
[](https://github.com/support-ukraine/support-ukraine)
|
[](https://github.com/support-ukraine/support-ukraine)
|
||||||
|
|||||||
@ -318,7 +318,7 @@ class DmsfFile < ActiveRecord::Base
|
|||||||
if File.exist? last_revision.disk_file
|
if File.exist? last_revision.disk_file
|
||||||
FileUtils.cp last_revision.disk_file, new_revision.disk_file(false)
|
FileUtils.cp last_revision.disk_file, new_revision.disk_file(false)
|
||||||
end
|
end
|
||||||
new_revision.comment = l(:comment_copied_from, source: "#{self.project.identifier}: #{dmsf_path_str}")
|
new_revision.comment = l(:comment_copied_from, source: "#{self.project.identifier}:#{dmsf_path_str}")
|
||||||
new_revision.custom_values = []
|
new_revision.custom_values = []
|
||||||
last_revision.custom_values.each do |cv|
|
last_revision.custom_values.each do |cv|
|
||||||
v = CustomValue.new
|
v = CustomValue.new
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user