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

 
 

bug #20935: Qualified name not handled

Submitted by:  Eric NOULARD <erk>
Submitted on:  Thu 30 Aug 2007 07:56:17 AM UTC  
 
Category: CERTISeverity: 3 - Normal
Item Group: HLA compliance errorStatus: Fixed
Privacy: PublicAssigned to: Eric NOULARD <erk>
Open/Closed: ClosedRelease: 3.2.4
Reproducibility: Every TimeFixed Release: 3.2.5

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

(Jump to the original submission 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>
Project AdministratorIn charge of this item.
Thu 06 Dec 2007 09:26:41 PM UTC, comment #7:

I've sent the fed file I've been testing with to -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>
Project 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>
Project AdministratorIn charge of this item.
Thu 29 Nov 2007 06:49:47 AM UTC, comment #3:

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

Eric NOULARD <erk>
Project AdministratorIn charge of this item.
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>
Project AdministratorIn charge of this item.
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>
Project AdministratorIn charge of this item.

 

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

Attach File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Digest:
   bug dependencies.

 

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

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 11 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Tue 21 Oct 2008 10:33:56 AM UTCerkStatusIn Progress=>Fixed
      Open/ClosedOpen=>Closed
    Thu 29 Nov 2007 06:49:47 AM UTCerkStatusReady For Test=>In Progress
    Mon 19 Nov 2007 02:38:20 PM UTCerkFixed ReleaseUnknown=>3.2.5
    Wed 31 Oct 2007 12:02:10 PM UTCerkStatusConfirmed=>Ready For Test
    Fri 28 Sep 2007 09:14:32 PM UTCerkAssigned tobussenotjl=>erk
    Wed 26 Sep 2007 02:46:42 PM UTCerkCarbon-Copy-=>Added patricecarle
    Tue 18 Sep 2007 09:00:41 AM UTCerkAssigned toNone=>bussenotjl
    Thu 13 Sep 2007 02:07:50 PM UTCerkCarbon-Copy-=>Added crule
    Thu 13 Sep 2007 02:07:09 PM UTCerkDependencies-=>bugs #21067 is dependent
    Thu 30 Aug 2007 07:56:17 AM UTCerkCarbon-Copy-=>Added zaphod46

    Back to the top


    Powered by Savane 3.1-cleanup1