Skip to content

FsEventMapper::insertRow() return from within an uncommitted transaction. #225

Description

@rotdrop

See PR #224. The offending lines are

if (!empty($entities)) {
return $entities[0];
}

More comments are contained in the linked pull-request. As summary: a function must not just terminate while a database transaction is active, the missing commit() has the effect that all database mutations of the current PHP script are discarded.

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