Skip to content

Comments

[17.0][FIX] session_redis: add incompatibility to auth_session_timeout#492

Merged
SilvioC2C merged 2 commits into17.0from
17.0-fix-session_redis
May 8, 2025
Merged

[17.0][FIX] session_redis: add incompatibility to auth_session_timeout#492
SilvioC2C merged 2 commits into17.0from
17.0-fix-session_redis

Conversation

@SilvioC2C
Copy link
Contributor

Forward-port of #488 and #489

SilvioC2C added 2 commits May 8, 2025 11:11
``session_redis`` is not compatible with ``auth_session_timeout``.
``session_redis`` overrides property ``odoo.http.Application.session_store`` by returning a ``RedisSessionStore`` object instead of a ``odoo.http.FilesystemSessionStore`` object.
``auth_session_timeout`` expects ``odoo.http.Application.session_store`` object to define method ``get_session_filename()``, which does not exist for ``RedisSessionStore`` objects.
This results in an ``AttributeError`` that prevents user authentication, and Odoo becomes inaccessible.
@SilvioC2C SilvioC2C merged commit fdbf1b4 into 17.0 May 8, 2025
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants