Server: array writes; decide ValueRank > 1 #610
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
The applier forces every array tag read-only ("array writes are out of scope") although Modbus has array/coil-array write paths; multi-dimensional arrays unsupported.
Sources: docs/Uns.md:317-318; AddressSpaceApplier.cs:898,1046; S7Driver.cs:467,1807; code-reviews/Driver.S7/findings.md (S7-016, Deferred).
Filed 2026-10-08 by the pending/deferred-work sweep after the #562–#591 issue sweep.
Resolved on master (merge b7a48e2b; reviews R4
a702875dand R631346f1e).DriverArrayWriteSupportcapability gates it per driver (18f8eb5d);ArrayWritableadded to the surgical whitelist and the UNS Backing mirror. Shape and IndexRange refusals, over-the-wire test coverage. Review hardening: exact element-type match (BadTypeMismatch, nothing sent) and Modbus writability bounded by the register/coil cap (dabd8eb9); numeric arrays then converted element-wise (checked) so ScadaBridge CLR-list writes work, refusing out-of-range/fractional/NaN, with the array-to-scalar refusal scoped to Modbus/S7 (52708bff). The Galaxy encoder refuses uint[]/ulong[]; Galaxy arrays without a declared length stay read-only.S7TagConfigModel(82372f16,439752d3); the DTO half of S7-016 was already stale. S7-016 note updated.Closed 2026-10-08 by the hardware-available issue sweep (master
d898262c).