Skip to content

Array-based properties not unset as placeholders in an iterative chunk #2552

Closed
@splittingred

Description

@splittingred

splittingred created Redmine issue ID 2552

$this->xpdo->unsetPlaceholders(array_keys($this->_properties));

array_keys isn't recursive, so stuff like [[+extended.color]] isn't unset.

A good solution would be to automatically convert it to prefix dot syntax before passing into toPlaceholders earlier, or writing a recursive array_keys method.

Metadata

Metadata

Assignees

No one assigned

    Labels

    area-corebugThe issue in the code or project, which should be addressed.

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions