| Summary: | Scoped instances are not reused correctly because the scope is switched after instance creation. | ||
|---|---|---|---|
| Product: | [Tools] GEF | Reporter: | Matthias Wienand <matthias.wienand> |
| Component: | GEF Common | Assignee: | gef-inbox <gef-inbox> |
| Status: | RESOLVED FIXED | QA Contact: | |
| Severity: | normal | ||
| Priority: | P3 | ||
| Version: | 1.0.0 | ||
| Target Milestone: | 4.1.0 (Neon.1) RC1 | ||
| Hardware: | All | ||
| OS: | All | ||
| Whiteboard: | |||
|
Description
Matthias Wienand
I implemented switching of adaptable scopes when adapters are injected, or rather right before adapters are injected, within AdapterInjector. Consequently, I removed the enter(), leave() and switchAdaptableScopes() calls from the behavior, viewer, domain, and visual-part classes. The code is published on the master branch and was ported back to R4_0_maintenance. Therefore, I resolve this ticket as fixed for 4.1.0 RC1 / 5.0.0 M1. |