Toad World® Forums

Project Manager - Drag & Drop Errors [1 Attachment]


[ Attachment(s) from Darren Myher included below]

ISSUE #1 - Trying to drag and drop a task list (to re-order the task list in
front of another list for example) results in error:


An item with the same key has already been added.

Stack Trace:

at System.ThrowHelper.ThrowArgumentException(ExceptionResource resource)

at System.Collections.Generic.Dictionary`2.Insert(TKey key, TValue value,
Boolean add)

at Quest.Toad.ProjectManager.ProjectContents.AddItem(ITrl trl, ProjectItem

at Quest.Toad.ProjectManager.ProjectTrl.CopyFrom(ProjectItem originalItem)

at Quest.Toad.ProjectManager.ProjectManagerControl.CopyNode(TreeListNode
targetNode, TreeListNode sourceNode, DragDropEffects effect, Boolean

at Quest.Toad.ProjectManager.ProjectManagerControl.treeList_DragDrop(Object
sender, DragEventArgs e)

Steps I used to repro:

Create a Project

Create a Task List

Add some tasks

Create a folder

Add some queries to the folder

Create another Task List

Create some tasks in that list.

Now try to drag the first task list somewhere else in the project – get this

(Support Bundle is attached)

ISSUE #2 – I can’t seem to re-order tasks within a list. I can start
dragging the task, but when I let go of the mouse button instead of the task
showing in the new location, it gets thrown out of the task list to the root of
the project.

ISSUE #3 – A task that ends up in the root of the project cannot be
dragged back into a task list.




Hello Darren,

Thank you for the reporting. I’ve created CR77943 for the first issue and
CR77944 for the second and third.