Fix clonning of date time values [SCI-4204]

This commit is contained in:
Oleksii Kriuchykhin 2020-01-16 16:03:13 +01:00
parent e75d85c198
commit 7d8ba7cb32

View file

@ -10,8 +10,9 @@ module RepositoryActions
def call
new_value = @cell.value.dup
new_value.repository_cell = RepositoryCell.new(repository_row: @new_row,
repository_column: @cell.repository_column)
new_cell = RepositoryCell.new(repository_row: @new_row, repository_column: @cell.repository_column)
new_cell.value = new_value
new_value.created_by = @user
new_value.last_modified_by = @user