You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Internal Server Error: (some URL being worked on)
AttributeError at (that URL)
'StandardIndexPage' object has no attribute 'reverse_subpage'
Request Method: GET
Request URL: http://www.ietf.org/(that URL)
...
File "/usr/local/lib/python3.10/site-packages/django/template/library.py", line 192, in render
output = self.func(*resolved_args, **resolved_kwargs)
File "/usr/local/lib/python3.10/site-packages/wagtail/contrib/routable_page/templatetags/wagtailroutablepage_tags.py", line 25, in routablepageurl
routed_url = page.reverse_subpage(url_name, args=args, kwargs=kwargs)
Exception Type: AttributeError at (that URL)
Exception Value: 'StandardIndexPage' object has no attribute 'reverse_subpage'
Crash rate was high while page was being worked on (19 crashes in 2 minutes)
I was able to reproduce the error by creating a BlogPage under /live/ (which is an IndexPage). While editing the blog page, the live preview was crashing, because the blog page's template is trying to render links to sibling blog posts using the {% routablepageurl %} template tag:
fwiw, the URL started with /live/
Crash rate was high while page was being worked on (19 crashes in 2 minutes)
cc: @ghwood
The text was updated successfully, but these errors were encountered: