From d8ef5b76627c50ec4f46ddc2b4d0166f7de5300d Mon Sep 17 00:00:00 2001 From: UlrichB22 <97119703+UlrichB22@users.noreply.github.com> Date: Wed, 13 Nov 2024 09:40:42 +0100 Subject: [PATCH] Fix traceback when viewing item with @itemid --- src/moin/themes/__init__.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/moin/themes/__init__.py b/src/moin/themes/__init__.py index 574f1cbba..e2dceb184 100644 --- a/src/moin/themes/__init__.py +++ b/src/moin/themes/__init__.py @@ -339,7 +339,7 @@ def location_breadcrumbs(self, fqname): if not isinstance(fqname, CompositeName): fqname = split_fqname(fqname) if fqname.field != NAME_EXACT: - return [(fqname, fqname, bool(self.storage.get_item(**fqname.query)))] + return [(fqname, fqname)] namespace = segment1_namespace = fqname.namespace item_name = fqname.value if not item_name: @@ -358,7 +358,7 @@ def path_breadcrumbs(self): Assemble the path breadcrumbs (a.k.a.: trail) :rtype: list - :returns: path breadcrumbs items in tuple (wiki_name, item_name, url, exists, err) + :returns: path breadcrumbs items in tuple (wiki_name, item_name, url, aliases, err) """ user = self.user breadcrumbs = []