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.
<server ...>
        <property name="Prop1" value="1"/>
        <property name="Prop2" value="2"/>

then calling ">>> server describe xxx" from icegridadmin shows this:
        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


  • benoit
    benoit Rennes, France
    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!