Menu

#79 Data Dictionary problem with nested components under groups

pending
nobody
None
5
2012-03-04
2011-09-23
No

Unable to process y msgtype (Security List) - complains that field 55 (Symbol) is not a valid tag for the message type.

Version 1.13.3 - C++ src - found bug in DataDictionary.cpp in addXMLComponentFields function.
On line 542 when the function calls itself, it erroneously passes a de-referenced pointer to the main DataDictionary object (*this), instead of the DataDictionary reference passed into the function, DD.
The error occurs where a component within a group attempts to process a sub component. Where groups are used, a specific DataDictionary for the group is created (groupDD) and is passed through to addXMLComponentFields. However if the component being processed finds a sub component, when it calls addXMLComponentFields to process it, it's passing a reference to the top level DD rather than the passed in groupDD.
Function call at line 542 should read:

addXMLComponentFields(pDoc, pComponentFieldNode.get(),
msgtype, DD, isRequired);

Discussion

  • Oren Miller

    Oren Miller - 2012-03-04

    Fixed.

     
  • Oren Miller

    Oren Miller - 2012-03-04
    • status: open --> pending
     

Log in to post a comment.

Auth0 Logo