Skip to content

🐞 Bug: 500 error when switching environments while in project detail view #1244

@Profex

Description

@Profex

Image

Bug Description

If you switch environments via environment selector while in project detail view of a compose project (services, configuration or logs view of compose project) you will get a 500 error displayed in browser

Steps To Reproduce

  1. Go to project detail view (services, configuration or logs of compose project) of a docker compose project on environment A
  2. Switch to environment B via environment selector

Expected Behavior

No 500 error should be displayed
When switching environments while in project detail view the view should switch a view valid on the environment you switch to, e.g. the project overview view of the target environment

Actual Behavior

500 error if you switch environments while in project detail view

Screenshots

No response

Arcane Version

v1.11.0

Installation Method

Docker Compose (Recommended)

Environment Type

Both Local and Remote Agents

Database Type

SQLite (Default)

Operating System

Linux

Docker Version

24.0.2

Browser & Version

143.0.3650.96

Relevant Logs or Error Messages

Dec 25 08:03:52.922 INF HTTP error: 404 not found request.method=GET request.host=host.domain.com request.path=/api/environments/948a5bea-4a3d-46a4-80a4-d98f73050a15/projects/8eccb7ae-ba54-48a8-8214-59a564a49972 request.query="" request.params="map[id:948a5bea-4a3d-46a4-80a4-d98f73050a15 projectId:8eccb7ae-ba54-48a8-8214-59a564a49972]" request.route=/api/environments/:id/projects/:projectId request.ip=192.168.178.75 request.referer=https://host.domain.com/projects/8eccb7ae-ba54-48a8-8214-59a564a49972 request.length=0 response.latency=5.284176ms response.status=404 response.length=166

Docker Compose Configuration

Environment Configuration (.env file)

Additional Context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    Projects

    Status

    Todo

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions