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:
- Run the latest Conductor UI version.
- Open a workflow definition that only has Version 1.
- Open the workflow version dropdown.
- Observe that Versions 1–99 are listed.
- 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.
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:
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.