Server settings: the sidebar marks no section as current on four People sub-pages #486
Labels
No labels
accessibility
authentication
breaking change
bug
documentation
enhancement
interface
internationalisation
observability
performance
security
tier
1
tier
2
tier
3
tier/4
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
Postulo/postulo#486
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Found on 2026-09-29 in a read-only review of postulo at
95348908d, reading the Server settings sections and rendering each People sub-page with the test client.Checked again on 2026-10-01 against
mainat0a5cad587: still present. The code is now atcore/templatetags/postulo.py:406-438(_sidebarandserver_sidebar) andtests/test_server_settings.py:55(test_every_section_renders_inside_the_sidebar);core/server_sections.pyandcore/settings_sections.pyhave not changed, and the four pages still render noaria-current="page".The People section tells the sidebar which pages belong to it through its
matchnames. Two of those names,server:person_adminandserver:person_active, are POST-only views that always redirect and never render a page, while the four pages that do render inside the Server settings frame for one account are not listed. On those four pages no sidebar entry is marked current: noaria-current="page"and no active style.core/server_sections.py:13-26, thepeopleentry'smatch; read bySettingsSection.is_activeincore/settings_sections.py:28through_sidebarandserver_sidebarincore/templatetags/postulo.py:425-457.server:person_username,server:person_recovery,server:person_delete,server:person_plugins). Each extendsserver/base.htmland draws the sidebar, and each rendered with noaria-current="page"at all in the snapshot, whereserver:peoplerenders one.server:email_test,server:record_of_processing, the invitation pages) are marked.test_every_section_renders_inside_the_sidebarintests/test_server_settings.py:53asserts one current entry, but only on each section's own page, so it cannot see this.server:person_adminandserver:person_activein the Peoplematchwithserver:person_username,server:person_recovery,server:person_deleteandserver:person_plugins.Done when
tests/test_server_settings.pyrenders each of the four person pages as an administrator and finds exactly onearia-current="page", on the People entry; it fails today with none.