| Summary: | ClassCastException when opening invalid Bookmark | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | z_Archived | Reporter: | Reto Weingart <reto.weingart> | ||||||
| Component: | Scout | Assignee: | Project Inbox <scout.core-inbox> | ||||||
| Status: | CLOSED FIXED | QA Contact: | |||||||
| Severity: | normal | ||||||||
| Priority: | P3 | CC: | judith.gull, ken.lee | ||||||
| Version: | unspecified | ||||||||
| Target Milestone: | --- | ||||||||
| Hardware: | All | ||||||||
| OS: | All | ||||||||
| Whiteboard: | |||||||||
| Attachments: |
|
||||||||
|
Description
Reto Weingart
Created attachment 208249 [details]
Patch for BookmarkUtility class
Patch contains:
- changed method signature of bmLoadNodePage since second argument was never used anyway
- change all bmLoadNodePage method calls to conform to the new signature
-> With these changes, the described ClassCastException cannot occur anymore
Created attachment 229711 [details]
Patch for BookmarkUtility class
Comment on attachment 229711 [details]
Patch for BookmarkUtility class
new version for 3.9
Thanks for the patch. It makes sense to remove the unused argument. I updated the patch file to match the 3.9 implementation. No migration needed. A test is needed for BookmarkUtility.activateBookmark(IDesktop, Bookmark, boolean). Works for me. Was not able to reproduce the bug. In my opinion the bug got fixed with the commits in BookmarkUtility over the last years. If it occurs again, please reopen this bug. Bug does not occur anymore - Fix successfully verified. Shipped with Eclipse Luna Release |