Welcome Guest, Not a member yet? Register   Sign In
DataException: There is no data to update after using save()
#3

I hate this exception.
In most of cases i just want to grab data, fill entity and update the DB row.

From UX point of view - really often users just click around form fields, actually changes nothing, but still press SAVE button. It's just the way it is.

Can't remember exactly, but i have had multiple cases when updated_at is not triggered as changed or is not actually changed, so this still triggers exception.

There MUST be an option to turn it off, at least manually - that way dev has full control of what he is doing.
From my point of view - this exception should be removed at all.

CORE functionality should never limit my needs or actions. It's dev's responsibility how he uses the code.

Thanks
Reply


Messages In This Thread
RE: DataException: There is no data to update after using save() - by davis.lasis - 06-01-2023, 01:10 PM



Theme © iAndrew 2016 - Forum software by © MyBB