Skip to content

Active Session Warning Even After Exercise Is Closed. #3510

@PragatiGHub

Description

@PragatiGHub

Describe the bug
When attempting to open a new exercise after closing a previously running one, RoboticsAcademy displays the message:
"You have open a Robotics Academy exercise in another tab or window"
This occurs even though the previous exercise tab/window has already been closed.
The issue temporarily resolves if the views.py file is saved or if the development environment is restarted.

To Reproduce
Steps to reproduce the behavior:

  1. Launch RoboticsAcademy using the dev script or Docker Compose.
  2. Open any exercise (e.g., Basic Vacuum Cleaner).
  3. Close the exercise tab/window or navigate back to open a different exercise.
  4. Try opening another exercise.

Expected behavior
After closing an exercise, the session should terminate automatically and allow opening another exercise without relaunching RoboticsAcademy or saving any file.

Screenshots

Image

Setup :

  • OS: macOS or Windows
  • Browser: Google Chrome
  • Robotics Academy Docker Image version: latest (docker pull jderobot/robotics-academy:latest)
  • Launch method: develop_academy.sh

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions