Skip to content

validate row param #427

@odinuv

Description

@odinuv

passing

{
   "config": "abc",
   "row: {"efg"}
}

to sync action, causes internal error:

at ApiController->createJobFromParams(array('config' => 'xxxx', 'row' => array('tables' => array('xxx', 'xxxx'...

https://keboola.slack.com/archives/C09U3R1J4/p1557755384119900

if (isset($body["row"]) && !isset($body["config"])) {

checks only the presence of row, but not the value

Metadata

Metadata

Assignees

No one assigned

    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