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
When calling getModified() on an audit contains a null property that casts to an ArrayObject, a TypeError is thrown.
Expected Behaviour
Successfully retrieving modified.
Steps to Reproduce
Create an audit of a model that casts a property to ArrayObject, and have the old_values of the audit include {"cast_property":null}. Then call getModified().
Actual Behaviour
When calling
getModified()
on an audit contains a null property that casts to anArrayObject
, aTypeError
is thrown.Expected Behaviour
Successfully retrieving modified.
Steps to Reproduce
Create an audit of a model that casts a property to
ArrayObject
, and have theold_values
of the audit include{"cast_property":null}
. Then callgetModified()
.Possible Solutions
patch.txt
The text was updated successfully, but these errors were encountered: