From d501874475c2bf387695a837145e5cb454d2ecd0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Lombra=C3=B1a=20Gonz=C3=A1lez?= Date: Wed, 16 Aug 2017 13:26:46 +0200 Subject: [PATCH] Fix #1582. Be sure that we clean the cache after publishing the project. --- pybossa/view/projects.py | 1 + 1 file changed, 1 insertion(+) diff --git a/pybossa/view/projects.py b/pybossa/view/projects.py index a4b6f9179c..929e991485 100644 --- a/pybossa/view/projects.py +++ b/pybossa/view/projects.py @@ -1662,6 +1662,7 @@ def publish(short_name): task_repo.delete_taskruns_from_project(project) result_repo.delete_results_from_project(project) webhook_repo.delete_entries_from_project(project) + cached_projects.delete_project(short_name) auditlogger.log_event(project, current_user, 'update', 'published', False, True) flash(gettext('Project published! Volunteers will now be able to help you!')) return redirect(url_for('.details', short_name=project.short_name))