freenas-proxmox/perl5
Kevin Adams c7ce39d8ae fix: SCALE 25.10 strict Pydantic rejects volsize encoded as string (#269)
SCALE 25.10 (Goldeye) enforces strict integer validation. The log call
preceding the API call stringifies $size_b (sets Perl's POK flag), causing
JSON::XS to encode it as "8589934592" (quoted) instead of 8589934592.
int() at the encode site produces a fresh IV without the POK flag.

Also adds error parser support for SCALE 25.10's field-keyed validation
error format so the full Pydantic detail surfaces in PVE task logs.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-31 08:58:00 -04:00
..
PVE/Storage/Custom fix: SCALE 25.10 strict Pydantic rejects volsize encoded as string (#269) 2026-05-31 08:58:00 -04:00