Werk #22173 · Aug 18, 26
Views: fix crash without permission for the Host view
Opening a host or service page crashed with KeyError: host for users who are
not permitted to see the built-in "Host" view, or on sites where that view was
removed.
The breadcrumb of such a page now simply omits the host home page level, which the user could not have opened anyway, and the page renders again.
Details
- Class:
- Bug Fixes
- Level:
- Trivial
- Component:
- Multisite
- Versions:
- 3.0.0b1Not yet releasedAll Editions
- 2.5.0p12All Editions
- 2.4.0p36All Editions