You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@directory.apache.org by "Stefan Seelmann (JIRA)" <ji...@apache.org> on 2010/03/22 16:33:27 UTC

[jira] Created: (DIRSTUDIO-639) Exception when navigation history contains bookmarks of an deleted connection

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.


[jira] Resolved: (DIRSTUDIO-639) Exception when navigation history contains bookmarks of an deleted connection

Posted by "Stefan Seelmann (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/DIRSTUDIO-639?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Stefan Seelmann resolved DIRSTUDIO-639.
---------------------------------------

    Resolution: Fixed

> 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.


[jira] Commented: (DIRSTUDIO-639) Exception when navigation history contains bookmarks of an deleted connection

Posted by "Stefan Seelmann (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/DIRSTUDIO-639?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12848169#action_12848169 ] 

Stefan Seelmann commented on DIRSTUDIO-639:
-------------------------------------------

Fixed in trunk: http://svn.apache.org/viewvc?rev=926136&view=rev

Unfortunately it's not possible to remove items from the navigation history.

> 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.


[jira] Closed: (DIRSTUDIO-639) Exception when navigation history contains bookmarks of an deleted connection

Posted by "Pierre-Arnaud Marcelot (JIRA)" <ji...@apache.org>.
     [ 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.