Archived
This forum has been archived. Please start a new discussion on GitHub.
IceGrid app descriptor: reopen unnamed sets
not sure if it's a bug or a feature but I was surprised by it.
The IceGrid descriptor parser allows re-opening of unnamed property sets but this leads to duplication of all the properties which were already loaded. The documentation does not seem to address this.
then calling ">>> server describe xxx" from icegridadmin shows this:
The duplicates of course disappear by the time this gets into the communicator properties, but still, doesn't seem right.
cheers, alex
The IceGrid descriptor parser allows re-opening of unnamed property sets but this leads to duplication of all the properties which were already loaded. The documentation does not seem to address this.
...
<server ...>
...
<properties>
<property name="Prop1" value="1"/>
</properties>
<properties>
<property name="Prop2" value="2"/>
</properties>
</server>
...
then calling ">>> server describe xxx" from icegridadmin shows this:
properties
{
Prop1 = `1'
Prop1 = `1'
Prop2 = `2'
}
The duplicates of course disappear by the time this gets into the communicator properties, but still, doesn't seem right.
cheers, alex
0
Comments
-
Hi Alex,
Thanks for the bug report!
You can fix this problem by just replacing line 642 and 807 in src/IceGrid/DescriptorBuilder.cpp with the following:return new PropertySetDescriptorBuilder();
This fix will be included in the next release!
Cheers,
Benoit.0