Skip to content

Report filters are reset after session expiration and LDAP re-authentication #4788

@Rayzedan

Description

@Rayzedan

Describe the bug
When LDAP authentication is enabled, any applied report filters are lost after the user's session expires and they re-authenticate.

To Reproduce
Steps to reproduce the behavior:

  1. Configure and enable LDAP authentication in CodeChecker
  2. Set various filters on the reports page (e.g., review status, detection status, file path)
  3. Wait for 5 minutes (the default session lifetime)
  4. Click the "Back to reports" button
  5. Observe that the login page is displayed
  6. Successfully re-authenticate via LDAP
  7. Notice that all previously applied filters have been reset to default values

Expected behavior
After session expiration and re-authentication, the user should be returned to their previous view with all filters preserved, allowing them to continue their work without having to reconfigure the report filters.

Desktop (please complete the following information):

  • OS: Ubuntu 24.04
  • Browser: Firefox, Chrome
  • CodeChecker version: 6.27.1

Additional context
This issue only occurs when LDAP authentication is enabled. When using the default authentication method, filters are properly preserved after session renewal.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions