semaphore
semaphore copied to clipboard
Problem: Environment boolean values are created as strings in TABLE editor
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