Return-Path: Delivered-To: apmail-directory-dev-archive@www.apache.org Received: (qmail 14487 invoked from network); 22 Mar 2010 15:39:51 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 22 Mar 2010 15:39:51 -0000 Received: (qmail 87361 invoked by uid 500); 22 Mar 2010 15:39:51 -0000 Delivered-To: apmail-directory-dev-archive@directory.apache.org Received: (qmail 87320 invoked by uid 500); 22 Mar 2010 15:39:51 -0000 Mailing-List: contact dev-help@directory.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Apache Directory Developers List" Delivered-To: mailing list dev@directory.apache.org Received: (qmail 87313 invoked by uid 99); 22 Mar 2010 15:39:51 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 22 Mar 2010 15:39:51 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 22 Mar 2010 15:39:48 +0000 Received: from brutus.apache.org (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 3489C234C1EF for ; Mon, 22 Mar 2010 15:39:27 +0000 (UTC) Message-ID: <1759362658.405031269272367214.JavaMail.jira@brutus.apache.org> Date: Mon, 22 Mar 2010 15:39:27 +0000 (UTC) From: "Stefan Seelmann (JIRA)" To: dev@directory.apache.org Subject: [jira] Commented: (DIRSTUDIO-639) Exception when navigation history contains bookmarks of an deleted connection In-Reply-To: <1934302340.404951269272007286.JavaMail.jira@brutus.apache.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on 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.