Community
Participate
Working Groups
Created attachment 108835 [details] Checks ´overridden´ variables from extensions By chance it is possible that variables contributed by extensions can silently override existing variables. Bugs relating from unexpected string substitutions are hard to find. Logging such ´overrides´ would help detecting such problems. If you add variables manually by addVariables(IValueVariable[] variables) an exception will be thrown when an ´override´ occurs. I attached a patch that logs such ´overrides´ from extensions. With that adding variables manually and by extensions is more consistent. I also wrote a unit test (not attached) but I had to check the logging output manually.
Applied patch. Enhanced to display name of bunlde that the original variable was contributed from.
Fixed.
Verified.