Toad World® Forums

Project Manager - Drag & Drop Errors [1 Attachment]


#1

[ 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:

System.ArgumentException

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
parent)

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

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

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

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

Darren

image004.png
image001.png


#2

Hello Darren,

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

regards,

Alexander
image001.png