Skip to content

C3: Query error: Unknown column #1

@dmolineus

Description

@dmolineus

I've installed the test example and get an error for every relation. The issue seems to be that C3 will update an null value by default.

I suggest to set a doNotSaveEmpty in the callbackFieldLoad for every relation field:

$arrConfig = &$GLOBALS['TL_DCA'][$objDC->table]['fields'][$objDC->field];
$arrConfig['eval']['doNotSaveEmpty'] = true;

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions