Page 1 of 1

Checklist Task deletion Error

Posted: Thu Nov 13, 2008 7:12 pm
by roteague
I'm having an issue with one of my checklist tasks. I am attempting to delete one of my checklist tasks. After deleting it and hitting the save button I get a database constraint error. This task is one I created programatically this way:

Code: Select all

Dim newNote As INote = newRequestedTask.Note.CreateNew()
I can see the note in the Note table, but there is no corresponding record in the NoteCollection table.

So, why is the error begin thrown?

Thanks,

Re: Checklist Task deletion Error

Posted: Thu Nov 13, 2008 7:22 pm
by roteague
Correction: there is a record in the NoteCollection table.

Re: Checklist Task deletion Error

Posted: Mon Nov 17, 2008 3:54 pm
by Phil Barton
Let me research this and get back to you.

Re: Checklist Task deletion Error

Posted: Tue Nov 18, 2008 11:35 am
by Phil Barton
This has been identified as a bug in the application. As a workaround, deleted the notes individually off of the requested/checklist task first before deleting the task, itself.

Re: Checklist Task deletion Error

Posted: Tue Nov 18, 2008 1:04 pm
by roteague
Thanks Phil, I'll do that.

Re: Checklist Task deletion Error

Posted: Tue Nov 18, 2008 2:09 pm
by roteague
Just an update. The UI won't allow me to delete the note associated with a task - the delete button is disabled.

Re: Checklist Task deletion Error

Posted: Tue Nov 18, 2008 2:28 pm
by Phil Barton
You will have to have delete permission for notes. Under the ProForm\Order\General category of permissions, there is a permission called Note with the rights of Add, Edit, Delete. You or a group you belong to mush have the Delete right in order to delete notes.