From ee260f83fad1d8b83635a10fa105a8785d5b554c Mon Sep 17 00:00:00 2001 From: Marius van den Beek Date: Wed, 20 Mar 2024 08:06:41 +0100 Subject: [PATCH] Create new history if user has no history AND for anonymous users --- lib/galaxy/webapps/base/webapp.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/galaxy/webapps/base/webapp.py b/lib/galaxy/webapps/base/webapp.py index 1daa9f7c3487..b808dbbbec64 100644 --- a/lib/galaxy/webapps/base/webapp.py +++ b/lib/galaxy/webapps/base/webapp.py @@ -953,6 +953,8 @@ def get_or_create_default_history(self): self.set_history(history) else: history = self.new_history() + else: + history = self.new_history() return history