Users unable to flag a record for deletion

  • 1
  • Question
  • Updated 4 years ago
  • Answered
I have a detail page with attachments table, when a user flags an attachment for deletion the flag is removed before they are able to click Save.

Does anyone knows why this is happening?
Photo of Andrew Ottaru

Andrew Ottaru

  • 412 Points 250 badge 2x thumb

Posted 4 years ago

  • 1
Photo of Rob Hatch

Rob Hatch, Official Rep

  • 44,006 Points 20k badge 2x thumb
This is certainly not the behavior we expect.  It sounds to me like some innapropriate javascript or Skuid Actions are being run whenever rows change on the model,  or rows are marked for deletion.  Look at Model Actions on your Attachment Model, or look at any custom javascript snippets to see if any of these would be responsible for this behavior. 
Photo of Andrew Ottaru

Andrew Ottaru

  • 412 Points 250 badge 2x thumb
Yes, I had a action to re-query the model when model was cancelled. It appears this is what was causing the issue. Thanks
Photo of Rob Hatch

Rob Hatch, Official Rep

  • 44,006 Points 20k badge 2x thumb
Glad we found it!