ollyg/Catalyst-Plugin-AutoCRUD — Issue #15: Create allows update to row if it exists
Author: ollyg
Created: 2011-10-12 15:43:03+00:00
State: open

davewood on IRC points out that Create/Add will happily perform an UPDATE on existing row instead of throwing an error.

This is because internally they are the same call. But as the row is retrieved/created early on, then it could be done in the create/update AJAX backend sub and then update sub called after that, collecting the row object from the stash.