Bug 2765

Summary: Config::Set may fail to set the attribute by using Names::Add
Product: ns-3 Reporter: Peter Barnes <pdbarnes>
Component: coreAssignee: Peter Barnes <pdbarnes>
Status: PATCH PENDING ---    
Severity: normal CC: ns-bugs, q5frc, tomh, tommaso.pecorella
Priority: P3    
Version: ns-3-dev   
Hardware: All   
OS: All   

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
http://mailman.isi.edu/pipermail/ns-developers/2017-June/013967.html

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:
https://mailman.isi.edu/pipermail/ns-developers/2017-June/013805.html

(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.