Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Flush changes to database in TaskController::putAction #56

Merged
merged 1 commit into from
May 31, 2021

Conversation

niklasnatter
Copy link
Contributor

It looks like the TaskController::putAction does not flush the changes to the database at the moment. I suspect that this is caused by the following change in the sulu/sulu package:
sulu/sulu#5414

@niklasnatter niklasnatter force-pushed the bugfix/task-put-action branch 3 times, most recently from d5c62c0 to e8dbec0 Compare May 31, 2021 12:36
@@ -354,6 +354,7 @@ public function putAction(string $id, Request $request): Response
$task->setSchedule($dateTime);
$task = $this->taskManager->update($task);

$this->entityManager->merge($task);
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not sure about this but seems currently the only solution and TargetGroup was handled the same way.

@alexander-schranz alexander-schranz merged commit b40dac5 into sulu:2.x May 31, 2021
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.

2 participants