Skip to content

Entity json-array casting not functioning as expected #1359

Description

@Iamscalla

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions