From baba7fc9e79fd142827b775d432d7a8add934fe1 Mon Sep 17 00:00:00 2001 From: Urban Rotnik Date: Mon, 11 Jan 2021 13:49:34 +0100 Subject: [PATCH] Remove project_folder reference on project archive [SCI-5379] --- app/controllers/projects_controller.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/app/controllers/projects_controller.rb b/app/controllers/projects_controller.rb index 00d155f14..9c4989de5 100644 --- a/app/controllers/projects_controller.rb +++ b/app/controllers/projects_controller.rb @@ -213,6 +213,7 @@ class ProjectsController < ApplicationController next unless can_archive_project?(project) project.transaction do + project.project_folder = nil project.archive!(current_user) log_activity(:archive_project, project) counter += 1