Skip to content

Flush only tags#17

Open
drymek wants to merge 2 commits into
FabienPennequin:masterfrom
drymek:flush
Open

Flush only tags#17
drymek wants to merge 2 commits into
FabienPennequin:masterfrom
drymek:flush

Conversation

@drymek
Copy link
Copy Markdown

@drymek drymek commented Sep 17, 2013

This pull request solve issue:

$user = $this->getUser();
$taggableRelation = new TaggableRelation();
$user->addTaggableRelation($taggableRelation);

$form = $this->createForm(new UserType(), $user);
$form->handleRequest($request); // form transformer is using loadOrCreateTags -> flush

this causes flush on user entity as well (without validation).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant