Summary: | [e4] Missleading Message when make injection for Dynamic Menu Contribution | ||
---|---|---|---|
Product: | [Eclipse Project] Platform | Reporter: | Christoph Laeubrich <laeubi> |
Component: | UI | Assignee: | Platform-UI-Inbox <Platform-UI-Inbox> |
Status: | NEW --- | QA Contact: | |
Severity: | trivial | ||
Priority: | P3 | CC: | Lars.Vogel |
Version: | 4.14 | ||
Target Milestone: | --- | ||
Hardware: | All | ||
OS: | All | ||
Whiteboard: |
Description
Christoph Laeubrich
2020-05-28 03:00:05 EDT
Sounds like this context should be created as child context of the active context. Gerrits are welcome @Lars sorry for confusion, while debugging the code more deeply for providing a patch I noticed that in fact everything works quite well... beside that if one tries to inject a wrong item (in my case: interface versus implementation class) a confusing "Missing @AboutToShow method in..." message is emitted what leads me on the wrong track.
Anyways I'll change the ticket to improve this message to something like:
> No suitable @AboutToShow method found for injection in ...
It also seems that even though it is possible with the injector to report missing items this is not used in ContextInjectionFactory :-\
|