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
Hello, get_absolute_media_url is used with utils.get_absolute_media_url(self.get_site()), but sometimes get_sitereturns None and so the website crash.
It happen when the page is not routable (not sure yet when that is, in my case it seems to be a complex issue around the usage of wagtail-localize).
I think get_absolute_media_url should check for None values (I can make the PR)
The text was updated successfully, but these errors were encountered:
Hello,
get_absolute_media_url
is used withutils.get_absolute_media_url(self.get_site())
, but sometimesget_site
returns None and so the website crash.It happen when the page is not routable (not sure yet when that is, in my case it seems to be a complex issue around the usage of wagtail-localize).
I think
get_absolute_media_url
should check for None values (I can make the PR)The text was updated successfully, but these errors were encountered: