nasa / EdsLib

CCSDS SOIS Electronic Data Sheet Tool and Library
Apache License 2.0
31 stars 12 forks source link

MsgId/TopicId conflict error messages not correctly shown #27

Closed jphickey closed 1 year ago

jphickey commented 1 year ago

If the EDS configuration results in a conflict between MsgIds or TopicIds, the EDS tool is supposed to display an error message indicating which value is in conflict and between what components/packages.

However, due to some underlying changes, the "MsgId" variable is a table, not a simple integer. So it cannot be directly printed as is attempted to here:

https://github.com/nasa/EdsLib/blob/683791c208254cb3d946860391bc7ac3ee174355/cfecfs/missionlib/eds/75-cfe_sb_dispatch_tables.lua#L114 https://github.com/nasa/EdsLib/blob/683791c208254cb3d946860391bc7ac3ee174355/cfecfs/missionlib/eds/75-cfe_sb_dispatch_tables.lua#L120

To correct this, it needs to use the Value member of MsgId, which is the integer.