You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have been stuck on this annoying bug in a long time and finally realised it was caused by validable.
The problem is when trying to create an model inside a job the eloquence Hookable save() returns false.
If I however set skipValidation = true then it passes the save, but saves an empty model, because CleansAttributes just removes everything.
If I however removes the implementation of CleansAttributes and has skipValidation = true, then I saves the model as intended.
Running Laravel 5.2
The text was updated successfully, but these errors were encountered:
I have been stuck on this annoying bug in a long time and finally realised it was caused by validable.
The problem is when trying to create an model inside a job the eloquence Hookable
save()
returns false.If I however set
skipValidation = true
then it passes the save, but saves an empty model, because CleansAttributes just removes everything.If I however removes the implementation of CleansAttributes and has
skipValidation = true
, then I saves the model as intended.Running Laravel 5.2
The text was updated successfully, but these errors were encountered: