Bugzilla – Bug 1673
Config::Set/Connect does not search for attributes in parent classes
Last modified: 2014-09-12 20:46:14 UTC
Created attachment 1590 [details] Config::DoResolve patch The attached patch addresses an issue with Config::Set/Connect methods. Just an example of what is/was the issue. Let's say I have class A with attribute 'X' and class B that is derived from class A. Let also assume that object of class B is aggregated to a Node with id 0. Config::Set ("/NodeList/0/$B/X", StringValue ('some-value')); While such a code is totally legitimate, Config::DoResolve didn't properly resolve the attribute path in parent's classes.
This patch seems useful. Can we check its correctness with some tests and, in case, apply it ? Either, is there a reason to not wanting this enhancement ?
sorry, i duplicated this bug 1959
pushed in 10940:e51c1aaac703, thanks for the patch!
*** Bug 1959 has been marked as a duplicate of this bug. ***