TWSD1765 - WebUI session logout fails to remove sessid from _session_list due to type mismatch
Review Request #1430 — Created March 10, 2026 and updated
| Information | |
|---|---|
| austin | |
| APV10 | |
| apv_10_7 | |
| TWSD-1765 | |
| Reviewers | |
| lucille, shuinvy | |
In session.py, the ANSession.logout() method fails to remove the session ID from _session_list due to a type mismatch between the value stored in the list and the value passed to list.remove().
Jira:https://arraynetworks.atlassian.net/jira/software/projects/TWSD/boards/62?jql=assignee%20%3D%20712020%3A64a4a8f2-81d8-4b7a-9664-f9019a720f96&selectedIssue=TWSD-1765
I used some logging to track the session cleanup during logout/timeout. It turns out the error was hidden because it was caught in an empty 'except' block. After the fix, the error is gone.
