bugCERTI - Bugs: bug #20935, Qualified name not handled

 
 

bug #20935: Qualified name not handled

Submitter:  Eric NOULARD <erk>
Submitted:  Thu 30 Aug 2007 07:56:17 AM UTC
   
 
Category:  CERTI Severity:  * 3 - Normal
Item Group:  HLA compliance error Status:  Fixed
Privacy:  Public Assigned to:  erk
Open/Closed:  Closed Release:  * 3.2.4
Reproducibility:  Every Time Fixed Release:  * 3.2.5
* Mandatory Fields

Add a New Comment Rich Markup
   

Jump to the original submission

Tue 21 Oct 2008 10:33:56 AM UTC, comment #8: 

I think this bug is now outdated.
I am now unable to reproduce it,
(with the FED file Chris sent me)
I close it.

Chris if there are still issue in this area,
please re-open a new one.

Eric NOULARD <erk>
Group administrator
Thu 06 Dec 2007 09:26:41 PM UTC, comment #7: 

I've sent the fed file I've been testing with to -email is unavailable- per his request.

The current CVS code set crashes when I try to subscribe to object class Unit. It crashes in function TimeManagement::setTimeRegulating(bool etat, TypeException &e) with garbage in pointer fm at line 553 in file timemanagement.cc (fm=0xdddddddd).

I am using a fed file format (not XML) since this is a HLA 1.3 federation file.

Chris Rule <crule>
Thu 06 Dec 2007 04:14:31 PM UTC, comment #6: 

There's a compiler warning and error when compiling on Windows using Visual Studio 2005:

c:\certi\librti\RTIambPrivateRefs.hh(32) : warning C4099: 'RTIambPrivateRefs' : type name first seen using 'struct' now seen using 'class'
        c:\certi\certi\include\RTI.hh(38) : see declaration of 'RTIambPrivateRefs'

.\RTIambassador.cc(138) : error C2039: 'c_str' : is not a member of 'std::basic_stringstream<_Elem,_Traits,_Alloc>'

The first one is a concern, though I'm not sure what the actual effect is. The second one is definitely a problem. I put in a temp patch to remove the c_str to get it to compile for testing:
   throw RTIinternalError( "CreateProcess - Cannot connect to RTIA.exe");

Chris Rule <crule>
Thu 06 Dec 2007 09:22:28 AM UTC, comment #5: 

I test the new parser , seems ok for my test
patrice




Carle <patricecarle>
Group Member
Tue 04 Dec 2007 11:04:07 AM UTC, comment #4: 

Chris do you use the XML of FED file format
for your federation?

If you use XML FOM file can you update and retry?
I've just fixed a bug in the XMLParser
which generates the following error on RTIG side:

RTI::Exception [RTIinternalError,0x0] - reason=UpdateAttributeValues called on the RTIA

If you have the problem with a FED FOM file format
can you run your test while setting
RTI_EXCEPTION environment variable to "X"
then capture stdout from RTIG and/or RTIA.

May be you can send me the FOM file (either fed or xml)
which exhibit the problem?
Or may be a "similar" one?

Eric NOULARD <erk>
Group administrator
Thu 29 Nov 2007 06:49:47 AM UTC, comment #3: 

OK.
I will have look at this.
Probably next week.

Eric NOULARD <erk>
Group administrator
Wed 28 Nov 2007 10:34:40 PM UTC, comment #2: 

Just tried current CVS tree (as of 28 Nov 2008) and there seems to still be a problem with the implementation. I have an object class Unit.Platform with attributes Unit_ID, Location, and ID all associated with object class Unit. I create an object instance using object class "Unit.Platform" with a single attribute "ID". When I try to update the object instance the RTIg (with prints for ObjectClass and ObjectClassSet turned on full) states that it can't find the attribute to update. This is on Win32 XP using visual studio 2005 to compile.

Chris Rule <crule>
Wed 31 Oct 2007 10:33:04 AM UTC, comment #1: 

I've just checked-in a fix in CVS.
The fix is not perfect since
it maintains "old CERTI behaviour" for seeking
unqualified names AND implements the qualified name lookup.
Thus if two ObjectClass do have the same "leaf name"
in different branches current implementation will fail.

I will fix this soon.
Please update your CVS tree and test.

Eric NOULARD <erk>
Group administrator
Thu 30 Aug 2007 07:56:17 AM UTC, original submission:  

As reported by Jeff
http://lists.nongnu.org/archive/html/certi-devel/2007-08/msg00002.html
using qualified name does not work with current CERTI release.


Eric NOULARD <erk>
Group administrator

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Digest:
   bug dependencies.

 

Carbon-Copy List
  • -email is unavailable- added by patricecarle (Posted a comment)
  • -email is unavailable- added by crule (Posted a comment)
  • -email is unavailable- added by erk (Encountered the same bug)
  • -email is unavailable- added by erk (reporter of a duplicate of this bug)
  • -email is unavailable- added by erk (Submitted the item)
  •  

    Follow 11 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2008-10-21 erk StatusIn Progress Fixed
        Open/ClosedOpen Closed
    2007-11-29 erk StatusReady For Test In Progress
    2007-11-19 erk Fixed ReleaseUnknown 3.2.5
    2007-10-31 erk StatusConfirmed Ready For Test
    2007-09-28 erk Assigned tobussenotjl erk
    2007-09-26 erk Carbon-Copy- Added patricecarle
    2007-09-18 erk Assigned toNone bussenotjl
    2007-09-13 erk Carbon-Copy- Added crule
    2007-09-13 erk Dependencies- bugs #21067 is dependent
    2007-08-30 erk Carbon-Copy- Added zaphod46

    Back to the top

    Powered by Savane 3.13-4b48.
    Corresponding source code