Werk #22132 · Aug 18, 26
Views: fix crash on single service views without a service context
When a view showing a single service was opened without a service in its
context, the whole page crashed with KeyError: service instead of rendering.
This could happen for example through a hand written or outdated bookmark, or a
link that lost its service parameter.
Such a view now renders again. Its breadcrumb ends at the host it belongs to, instead of trying to show a service level that has no service to name.
Details
- Class:
- Bug Fixes
- Level:
- Trivial
- Component:
- Multisite
- Versions:
- 3.0.0b1Not yet releasedAll Editions
- 2.5.0p12All Editions
- 2.4.0p36All Editions