api icon indicating copy to clipboard operation
api copied to clipboard

Bug deleting notes

Open duncan opened this issue 10 years ago • 1 comments

Per Kevin (https://disqus.com/by/mieubrisse/)

  1. It looks like there's a bug with deleting notes: if I call the DELETE endpoint once, it replaces the note with a new, empty note with a new ID and revision 1. If I call the DELETE endpoint on that, the note is finally deleted.
  2. Notes don't seem to get the created_at, created_by_id, or created_by_request_id flags that Tasks, Lists, Subtasks, and so on do. Is this intentional?

EDIT: It looks like these two bugs are tied together. Using the creation endpoint yields a note with no creation information, but the empty note that replaces my note when I call the DELETE endpoint does have a 'created_by_request_id' attribute.

duncan avatar Oct 20 '15 09:10 duncan

@adamrenklint went through the steps documented above and confirmed with the following:

I ran through the steps the user outlined and he is exactly correct

  • deleting a note will create a new, empty note with revision 1
  • deleting that note will really delete the note, not create a new empty one

duncan avatar Oct 20 '15 09:10 duncan