You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I created a UserField called Software for my Equipments, being this field a FILE type.
My intent is to save ZIP containing firmwares or other related small pieces of software.
Upon uploading the file successfuly, it shows as saved but cannot be retrieved or downloaded.
Attached I show prints of how it appears.
My expectation was that obviouly would not be displayed but that pressing the download button would work.
Other related bug is that I tried with other file types, and other file types work (I tried with a STL file) but then another strange interaction happaned. If for example you upload an STL file, once you go to the Equipments list, and click the TAB of the UserField File you created it automaticly downloads the STL file. I believe it should only download if you click the download button.
Attached I also send a photo, except for the auto download the UI when uploading an STL seems good to me.
I tried in a HASS addon instance, a UNRAID docker instance, and both directly via IP or via a NGinx Proxy to rule out network.
I tried also the pre-realease demo and the same behauvior happened.
I state this BUG as related to ZIP files, but I suspect it
what_happens_when_downloading_using_the_button:
how_it_appear_in_the_list:
how_it_appears_in_edit_mode_after_saving:
what_shows_when_the_file_is_an_STL:
The text was updated successfully, but these errors were encountered:
berrnd
changed the title
Bug: Userfields as FILE do not work with ZIP files and with other files it auto downloads
Bug: File Userfields: Uploading big files (= when the upload takes longer than a couple of seconds) doesn't work
Feb 5, 2024
Unrelated to the file size (your web server or reverse proxy could be more the problem related to that) or type, just a timing issue related to how the frontend handles File-Userfield uploads (the API works already fine).
Bigger file = it takes (normally) longer than a couple of seconds, that's the reproducible problem - but also reproducible with small files and a slow af connection, try it out. It's not a display issue, the file isn't uploaded at all (or not fully, at least not saved on disk - check your data/storage/userfiles folder).
Also unrelated to Equipment, happens for any File-Userfield also on other entities.
Providing a real practical example on a persistent demo instance would be a cool thing (as mentioned on the issue template), looking behind screenshots is always hard.
Hello,
I created a UserField called Software for my Equipments, being this field a FILE type.
My intent is to save ZIP containing firmwares or other related small pieces of software.
Upon uploading the file successfuly, it shows as saved but cannot be retrieved or downloaded.
Attached I show prints of how it appears.
My expectation was that obviouly would not be displayed but that pressing the download button would work.
Other related bug is that I tried with other file types, and other file types work (I tried with a STL file) but then another strange interaction happaned. If for example you upload an STL file, once you go to the Equipments list, and click the TAB of the UserField File you created it automaticly downloads the STL file. I believe it should only download if you click the download button.
Attached I also send a photo, except for the auto download the UI when uploading an STL seems good to me.
I tried in a HASS addon instance, a UNRAID docker instance, and both directly via IP or via a NGinx Proxy to rule out network.
I tried also the pre-realease demo and the same behauvior happened.
I state this BUG as related to ZIP files, but I suspect it
what_happens_when_downloading_using_the_button:
how_it_appear_in_the_list:
how_it_appears_in_edit_mode_after_saving:
what_shows_when_the_file_is_an_STL:
The text was updated successfully, but these errors were encountered: