CasaOS
CasaOS copied to clipboard
[Bug] Handling hexadecimal values in environmental variables
Describe the bug
When you place a hexadecimal value in Environmental Variables after building the application when you try to edit it you get a empty white box without forms. You can still export the application so did I. When you export the application you notice that the hexadecimal value has been transformed to a scientific value (1.0427..17e+28) which i suspect to be the issue. I don't know any Go so I am unable to solve this issue.
To Reproduce
Everything above
Expected behavior
Be able to edit the application without having a empty white box without any forms.
Screenshots
https://imgur.com/a/iW1YRWO
Desktop (please complete the following information):
- OS: Ubuntu 20.01
- Browser: Brave (Chrome)
- Version: 1.73.91
System Time
Run
timedatectland share the output
root@home:~# timedatectl
Local time: Fri 2024-11-22 23:44:53 UTC
Universal time: Fri 2024-11-22 23:44:53 UTC
RTC time: Fri 2024-11-22 23:44:53
Time zone: Etc/UTC (UTC, +0000)
System clock synchronized: yes
NTP service: active
RTC in local TZ: no
Logs
Run following command to collect corresponding logs:
sudo journalctl -xef -u casaos-gateway
sudo journalctl -xef -u casaos-user-service
sudo journalctl -xef -u casaos-local-storage
sudo journalctl -xef -u casaos-app-management
sudo journalctl -xef -u casaos.service