Skip to content

[BUG] [UI] Workflow version dropdown lists non-existent versions up to 99 #1590

Description

@Robban1980

Describe the bug

Using the latest version of the Conductor UI, the workflow editor version selector displays workflow versions that do not exist.

For a workflow that only has Version 1, the dropdown lists Version 1 through Version 99. Selecting any version other than Version 1 results in a 404.

Steps to reproduce:

  1. Run the latest Conductor UI version.
  2. Open a workflow definition that only has Version 1.
  3. Open the workflow version dropdown.
  4. Observe that Versions 1–99 are listed.
  5. Select a non-existent version, for example Version 2.

Actual result:
The dropdown lists Versions 1–99 even though only Version 1 exists. Selecting a non-existent version results in a 404.

Expected result:
The version dropdown should only list workflow versions that actually exist.

Environment:
v3.32.1 Conductor UI Next.

Additional note:
The backend appears to behave correctly because requests for non-existent versions return 404. The issue appears to be in the UI logic that populates the version selector.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions