<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8">
</head>
<body bgcolor="#FFFFFF" text="#000000">
Hi all,<br>
<br>
I have a complex property with std::vector (sub-configs) inside
std:vector (configs). I am trying to modify the property from ruby
script.<br>
<br>
Changing any already existing value works fine. But once I try to
push a new element to the sub-configs and then write it back like<br>
<br>
<small> configs = task.configs.to_a <br>
<br>
configs.each do | config |<br>
sub_configs = config.sub_configs.to_a<br>
sub_configs.push( Types::SubConfig.new )<br>
config.sub_configs = sub_configs<br>
end<br>
<br>
task.configs = configs</small><br>
<br>
it crashes. Does anybody know how this can be achieved?<br>
<br>
Best <br>
Ajish<br>
<br>
<br>
<br>
</body>
</html>