CLI native-alarm-source import of a 4-column CSV resets MES overrides to inherit #104
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?
A CLI
native-alarm-source importof a 4-column CSV (no MesReportable column, #102 item 4) silently resets every imported source's MES override to inherit: the server's bulk handler overwrites the stored value with null when the field is unspecified. The Central UI import already preserves it. Add a server-side "keep the stored value when unspecified" mode (nullable + explicit-clear marker) so the CLI path matches the UI.Fixed on main
063fb218: bulk-override entries gain optional KeepStoredMesReportable — when set the server leaves the stored MES flag alone (a new row inherits); unset keeps today's behaviour (blank = clear to inherit), so older callers are unaffected. CLI and Central UI now build entries the same way (the UI's client-side lookup is gone). Keep-stored server tests + CLI 4-column test fail without the fix. Evidence (after rebase): slnx 0 warnings/0 errors; ManagementService 752, CLI 571, CentralUI 1533, InboundAPI 373, Security 199, ExternalSystemGateway 146, TemplateEngine 617, Transport.IntegrationTests 145, Host 623, Commons 915 passed; key projects re-run green on the pushed tip.