Bug 2765 - Config::Set may fail to set the attribute by using Names::Add
Config::Set may fail to set the attribute by using Names::Add
Product: ns-3
Classification: Unclassified
Component: core
All All
: P3 normal
Assigned To: Peter Barnes
Depends on:
  Show dependency treegraph
Reported: 2017-07-10 18:27 EDT by Peter Barnes
Modified: 2018-12-06 20:31 EST (History)
4 users (show)

See Also:


Note You need to log in before you can comment on or make changes to this bug.
Description Peter Barnes 2017-07-10 18:27:21 EDT
Dizhi reported on the developer list:

In brief, the problem I see is that Config::Set function may fail to set an
attribute if 1) its name-space path uses a string defined by Names::Add and
2) Config::Set is called after any object aggregation (e.g.,
InternetStackHelper::Install() function).

How to reproduce this problem can be found  in the "/*Description*/"
section of my first Email

My first Email explained the root cause of this bug and proposed a solution
as well.
Comment 1 Tom Henderson 2018-12-06 20:31:02 EST
Updated URL for Dizhi's original post:

(ISI mailman archives were rebuilt recently and old links don't work).

Anyway, I am going to try to move this along and form a patch from Dizhi's email.