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
the json-array casting decodes the json data when submitting to db.
an instance is this, [{"action_desription":"Order Approved by - \t@Staff[1]","action_time":"07-10-2018 14:14:28","action_ip":"127.0.0.1"}] which is what is supposed to return to the db, instead it attempts submitting the raw array
["action_desription"]=>"Order Approved by - @Staff[1]"
["action_time"]=> "07-10-2018 14:14:28"
["action_ip"]=> "127.0.0.1"
its issues revolves around the entity method toArray, which returns the raw data using the __get method.
The text was updated successfully, but these errors were encountered:
Iamscalla
changed the title
json-array not functioning as expected
Entity json-array casting not functioning as expected
Oct 26, 2018
Could you please check if you've got the same problem using 'array' as a casing method? (value should be serialized then).
Could you provide code where you're trying full entity and save data?
/BTW: I've noticed similar behavior when I am trying to assign value inside of entity class - it is normal in this case cuz __get / __set is not used then.
the json-array casting decodes the json data when submitting to db.
an instance is this,
[{"action_desription":"Order Approved by - \t@Staff[1]","action_time":"07-10-2018 14:14:28","action_ip":"127.0.0.1"}]
which is what is supposed to return to the db, instead it attempts submitting the raw arrayits issues revolves around the entity method toArray, which returns the raw data using the __get method.
The text was updated successfully, but these errors were encountered: