| Summary: | ClassCastException in PackageUtil, when Package is contained in a component | ||
|---|---|---|---|
| Product: | [Modeling] Papyrus | Reporter: | Marc-Florian Wendland <marc-florian.wendland> |
| Component: | Core | Assignee: | Camille Letavernier <cletavernier> |
| Status: | RESOLVED FIXED | QA Contact: | |
| Severity: | normal | ||
| Priority: | P3 | Flags: | cletavernier:
documentation-
|
| Version: | 0.8.1 | ||
| Target Milestone: | --- | ||
| Hardware: | All | ||
| OS: | All | ||
| Whiteboard: | |||
|
Description
Marc-Florian Wendland
Solution would be to rather check for package.getNearestPackage() instead of checking the owner in PackageUtil.getRootPackage, line 145. Because in that particular situation, the owner is a Component not a Package Fixed in r7139 (Branch 0.8.X) Fixed in r7140 (Trunk 0.9) We cannot rely on package#getNearestPackage, because it returns self for a Package. |