mirror of
https://git.proxmox.com/git/proxmox-widget-toolkit
synced 2025-05-03 00:40:57 +00:00
![]() there may be cases where the backend serialization plumping code makes it easier to return null instead of a emtpy object if a (sub)property or whole config is not configured, as it's closer to the truth (not configured == null, configured but empty would be {}) For objects this resulted in a exception, as the null value was tried to be dereferenced, avoid that by defaulting to an empty object in that case. For arrays we already coped with that by luck, make that more explicit to avoid future breakage. Both result to a empty array being returned as values, which means empty store and is deemed to be OK in that case. The rowdef.required still applies and adds empty values though, this could be argued to not be really fitting - for now lets keep it that way, we could make this opt-in though if it shows that it is not always correct. Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com> |
||
---|---|---|
debian | ||
src | ||
Makefile |