8000 Using `ArrayCollection->clear` over an entity marked to be persisted, doesn't create corresponding `DELETE` statements · Issue #7862 · doctrine/orm · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
Using ArrayCollection->clear over an entity marked to be persisted, doesn't create corresponding DELETE statements #7862
Closed
@ferrastas

Description

@ferrastas

Bug Report

Q A
BC Break yes/no
Version 2.6.4

Summary

Since 2.6.4 using clear over a collection using DEFERRED_EXPLICIT will not create the corresponding DELETE statements even when persisting the entity.
Introduced in #7758

Current behavior

Using clear over a collection using DEFERRED_EXPLICIT will not create the corresponding DELETE statements even when persisting the entity.

How to reproduce

A failing test available in #7861

Expected behavior

Collection items should be removed for entities marked to be persisted.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions

    0