diff --git a/lib/rsmp/supervisor_proxy.rb b/lib/rsmp/supervisor_proxy.rb index 855e922..1f6cecf 100644 --- a/lib/rsmp/supervisor_proxy.rb +++ b/lib/rsmp/supervisor_proxy.rb @@ -180,6 +180,12 @@ def send_aggregated_status component, options={} "se" => component.aggregated_status_bools, "mId" => m_id, }) + + # Core 3.1.2 or earlier requires that se items to be send as strings + if Proxy::version_meets_requirement?(core_version,"<=3.1.2") + message.attributes["se"].map! {|bool| bool ? "true" : "false"} + end + set_nts_message_attributes message send_and_optionally_collect message, options do |collect_options| Collector.new self, collect_options.merge(task:@task, type: 'MessageAck')