Unhelpful ambiguous component error
-
Christopher Stawarz
Assigned to Tender discussion #27.
-
David Cox
- Assigned user set to David Cox
Obviously, that exception normally does print out some indication of what component was at fault (and that's what that empty "()" appears to be).
In this case, the tag field in the component isn't getting set by either offending party (a variable and a timer).
The fix is a bandaid deep in the ugly bowels of the whole VariablesProperties mess. We should refactor this entirely, as well as make better use of the AmbiguousReference exception's ability to register all offending components, but for now, this quick fix will allow users to at least have a fighting chance of figuring out where the problem is.
I'll open new tickets for the more extensive fixes; this will likely interact with larger parser / plugin / component refactoring.
-
David Cox
(from [0260b1e86cd037e841b57c679613a51dce5c654d]) Make sure variables use the Component::setTag method to identify themselves [#66 Unhelpful ambiguous component error state:resolved] https://github.com/mworks-project/mw_core/commit/0260b1e86cd037e841...
Please Sign in or create a free account to add a new ticket.
With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.
