Skip to content

Datatables _fnSetObjectDataFn function does not store array types correctly #81

@jimjaeger

Description

@jimjaeger

Fix for _fnSetObjectDataFn required to handle storing of array types correctly.
Already open a forum entry. Also I already fixed it on a local branch. If you give me rights for branch upload I can provide the fix to you.

  • arrayNotation = aLast.match(__reArray);
    +var join = arrayNotation[0].substring(1, arrayNotation[0].length-1);
    +var r = val.length > 0 ? val.split(join) : [];
  • data[ aLast.replace(__reArray, '') ] = r;
  • data[ aLast.replace(__reArray, '') ] = val;

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions