elsa-core icon indicating copy to clipboard operation
elsa-core copied to clipboard

Fix: Remove duplicate enum values in HttpStatusCode dropdown for WriteHttpResponse

Open zengande opened this issue 5 months ago • 0 comments

When generating the dropdown list for the status input in the WriteHttpResponse activity, duplicate enum values were included due to Enum.GetValues() returning multiple names with the same underlying numeric value from System.Net.HttpStatusCode.

This fix filters the list to include only distinct values, grouped by their underlying integer representation.

Related issue: #6845


This change is Reviewable

zengande avatar Aug 06 '25 09:08 zengande