-
Notifications
You must be signed in to change notification settings - Fork 71
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Describe the bug
On OS installation(CE/EE) - if you visit organization settings -> initialization jobs:
It looks as if the machine is already selected. This is not true - when you attempt to run a job or edit a workflow, you will get a 500 with logs like:
** (exit) an exception was raised:
** (MatchError) no match of right hand side value: {:ok, {:error, :fetching_job_creation_failed}}
(front 0.0.1) lib/front_web/controllers/project_controller.ex:233: FrontWeb.ProjectController.render_default_branch/1
(stdlib 4.3.1.6) timer.erl:235: :timer.tc/1
(watchman 0.2.0) lib/watchman.ex:36: Watchman.benchmark/2
(front 0.0.1) lib/front_web/controllers/project_controller.ex:3: FrontWeb.ProjectController.action/2
(front 0.0.1) lib/front_web/controllers/project_controller.ex:3: FrontWeb.ProjectController.phoenix_controller_pipeline/2
(phoenix 1.6.16) lib/phoenix/router.ex:354: Phoenix.Router.__call__/2
(front 0.0.1) lib/front_web/endpoint.ex:1: FrontWeb.Endpoint.plug_builder_call/2
(front 0.0.1) lib/front_web/endpoint.ex:1: FrontWeb.Endpoint."call (overridable 3)"/2
Steps to reproduce
- Create a new project
- Click edit workflow button
- See 500 error page
Additional context
To fix this, one needs to click the Save changes button in the initialization jobs tab. It looks like the machine type is not selected at all, but it's appearing as selected only because there's no "Empty value" in the dropdown.
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working
Type
Projects
Status
Backlog