Go Back   ZeroC Forums > Bug Reports

Reply
 
LinkBack Thread Tools Rate Thread Display Modes
  #1 (permalink)  
Old 10-13-2007
n2503v n2503v is offline
Registered User
 
Name: Alex Makarenko
Organization: ACFR, University of Sydney
Project: Orca
 
Join Date: Jun 2005
Posts: 82
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.

Code:
...
<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:

Code:
    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
__________________
Alex Makarenko
Australian Centre for Field Robotics
The University of Sydney
www.cas.edu.au
project: orca-robotics.sf.net
Reply With Quote
  #2 (permalink)  
Old 10-15-2007
benoit's Avatar
benoit benoit is offline
ZeroC Staff
 
Name: Benoit Foucher
Organization: ZeroC, Inc.
Project: Ice
 
Join Date: Feb 2003
Location: Rennes, France
Posts: 1,535
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:

Code:
    return new PropertySetDescriptorBuilder();
This fix will be included in the next release!

Cheers,
Benoit.
Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Does icegrid app remove, stop the servers of the app? Wilko Help Center 6 06-16-2007 12:03 PM
Icebox descriptor xdm Help Center 1 01-24-2006 12:21 PM
IceBox/ C# and App.config stephan Help Center 0 01-12-2006 05:56 AM
Patch for escaping deployment descriptor variables benoit Patches 0 04-04-2005 05:26 PM
IceStorm service descriptor istvan Help Center 4 10-31-2003 10:55 AM


All times are GMT -4. The time now is 08:54 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.0.0
(c) 2008 ZeroC, Inc.