Checklist Task deletion Error

Discussions related to SoftPro Select user interface development.

Moderator: Phil Barton

Post Reply
roteague
Posts: 292
Joined: Thu Sep 25, 2008 4:49 pm
Location: Honolulu, Hawaii

Checklist Task deletion Error

Post 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,
Attachments
SoftProError.JPG
SoftProError.JPG (31.13 KiB) Viewed 1113 times
Robert
roteague
Posts: 292
Joined: Thu Sep 25, 2008 4:49 pm
Location: Honolulu, Hawaii

Re: Checklist Task deletion Error

Post by roteague »

Correction: there is a record in the NoteCollection table.
Robert
Phil Barton
Posts: 54
Joined: Wed Sep 24, 2008 2:37 pm
Location: Raleigh, NC
Contact:

Re: Checklist Task deletion Error

Post by Phil Barton »

Let me research this and get back to you.
Phil Barton
Software Architect
SoftPro
Phil Barton
Posts: 54
Joined: Wed Sep 24, 2008 2:37 pm
Location: Raleigh, NC
Contact:

Re: Checklist Task deletion Error

Post 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.
Phil Barton
Software Architect
SoftPro
roteague
Posts: 292
Joined: Thu Sep 25, 2008 4:49 pm
Location: Honolulu, Hawaii

Re: Checklist Task deletion Error

Post by roteague »

Thanks Phil, I'll do that.
Robert
roteague
Posts: 292
Joined: Thu Sep 25, 2008 4:49 pm
Location: Honolulu, Hawaii

Re: Checklist Task deletion Error

Post by roteague »

Just an update. The UI won't allow me to delete the note associated with a task - the delete button is disabled.
Robert
Phil Barton
Posts: 54
Joined: Wed Sep 24, 2008 2:37 pm
Location: Raleigh, NC
Contact:

Re: Checklist Task deletion Error

Post 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.
Phil Barton
Software Architect
SoftPro
Post Reply