Skip to content

HasOneSql is not merging imported field seed properly #1046

@mkrecek234

Description

@mkrecek234

Steps to reproduce:

  1. You have a model and addExpression which by nature is non-editable.
  2. You for example relate to that model with a hasOne relation, and import that expression as a field

Error TypeError: Atk4\Data\Field::isEditable(): Return value must be of type bool, array returned
in Model:730

The issue is in line 734, as isEditable is not existing as a property for SqlExpressionField.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions