semaphore icon indicating copy to clipboard operation
semaphore copied to clipboard

Problem: Environment boolean values are created as strings in TABLE editor

Open daniel-mizsak opened this issue 1 year ago • 0 comments

Issue

v2.10.18 introduced a User friendly Variables editor for Environment, which is really nice.

However, it took me quite some time to debug that creating a boolean value in the TABLE editor does not actually translate to a boolean value in the JSON structure, but to a string one. This caused my false flags to activate in the code.

Obviously, deleting the quotation marks around the value in the JSON structure fixes the problem. I am not sure what the best solution would be here, but I beleive this is something worth thinking about.

Impact

Web-Frontend (what users interact with), Ansible (task execution)

Installation method

Docker

Database

MySQL

Browser

Firefox

Semaphore Version

v2.10.22-e44910d-1721658561

daniel-mizsak avatar Jul 25 '24 14:07 daniel-mizsak