[
https://issues.apache.org/jira/browse/DIRSTUDIO-639?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Pierre-Arnaud Marcelot closed DIRSTUDIO-639.
--------------------------------------------
Version 1.5.3 has been release.
Let's close this issue.
> Exception when navigation history contains bookmarks of an deleted connection
> -----------------------------------------------------------------------------
>
> Key: DIRSTUDIO-639
> URL: https://issues.apache.org/jira/browse/DIRSTUDIO-639
> Project: Directory Studio
> Issue Type: Bug
> Components: studio-ldapbrowser
> Affects Versions: 1.5.2
> Reporter: Stefan Seelmann
> Assignee: Stefan Seelmann
> Priority: Minor
> Fix For: 1.5.3
>
>
> When deleting an connection the previously opened entries and bookmarks
> remain in the navigation history. When navigation back to an bookmark of an
> deleted connection an exception is throws.
> Steps to reprduce:
> - create and open a connection
> - create a bookmark, browse some entries and the bookmark
> - note that the navigation history contains the bookmark and entries
> - delete the connection
> - note that the navigation history still contains the bookmark and entries
> - when navigation back to the bookmark an Exception is thrown
> java.lang.IllegalStateException: Connection
> 252a7980-3d2a-44a2-b6f4-ec3496cd8708 does not exist.
> at
> org.apache.directory.studio.ldapbrowser.core.model.impl.DelegateEntry.getDelegate(DelegateEntry.java:101)
> at
> org.apache.directory.studio.ldapbrowser.core.model.impl.DelegateEntry.getBrowserConnection(DelegateEntry.java:134)
> at
> org.apache.directory.studio.entryeditors.EntryEditorInput.getResolvedEntry(EntryEditorInput.java:235)
> at
> org.apache.directory.studio.entryeditors.EntryEditorInput.getName(EntryEditorInput.java:135)
> at org.eclipse.ui.internal.EditorManager.findEditors(EditorManager.java:515)
> at org.eclipse.ui.internal.EditorManager.findEditors(EditorManager.java:434)
> at org.eclipse.ui.internal.EditorManager.findEditor(EditorManager.java:399)
> at
> org.eclipse.ui.internal.WorkbenchPage.busyOpenEditorBatched(WorkbenchPage.java:2799)
> at
> org.eclipse.ui.internal.WorkbenchPage.busyOpenEditor(WorkbenchPage.java:2762)
> at org.eclipse.ui.internal.WorkbenchPage.access$11(WorkbenchPage.java:2754)
> at org.eclipse.ui.internal.WorkbenchPage$10.run(WorkbenchPage.java:2705)
> at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:70)
> at org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:2701)
> at org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:2685)
> at org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:2676)
> at
> org.eclipse.ui.internal.NavigationHistoryEntry.restoreLocation(NavigationHistoryEntry.java:66)
> at
> org.eclipse.ui.internal.NavigationHistory.gotoEntry(NavigationHistory.java:455)
> at
> org.eclipse.ui.internal.NavigationHistory.shiftEntry(NavigationHistory.java:520)
> at
> org.eclipse.ui.internal.NavigationHistory.backward(NavigationHistory.java:504)
> at
> org.eclipse.ui.internal.NavigationHistoryAction.run(NavigationHistoryAction.java:242)
> at org.eclipse.jface.action.Action.runWithEvent(Action.java:498)
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.