Skip to content

Commit aae7c0e

Browse files
committed
Merge branch 'release/7.0.3'
2 parents c803c7c + a5f2e6a commit aae7c0e

File tree

3 files changed

+13
-4
lines changed

3 files changed

+13
-4
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
# In2publish Core Change Log
22

3+
7.0.3:
4+
5+
- [BUGFIX] MySQL-Strict-Mode: Cache-Clear-Task (and others) are not executed when publishing
6+
37
7.0.2:
48

59
- [BUGFIX] Fix markup in changelog file

Classes/Domain/Repository/TaskRepository.php

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -110,13 +110,18 @@ public function update(AbstractTask $task)
110110
protected function taskToPropertiesArray(AbstractTask $task)
111111
{
112112
$task->modifyConfiguration();
113-
return [
113+
$properties = [
114114
'task_type' => get_class($task),
115115
'configuration' => json_encode($task->getConfiguration()),
116-
'execution_begin' => $task->getExecutionBeginForPersistence(),
117-
'execution_end' => $task->getExecutionEndForPersistence(),
118116
'messages' => json_encode($task->getMessages()),
119117
];
118+
if ($task->getExecutionBeginForPersistence() !== 'NULL') {
119+
$properties['execution_begin'] = $task->getExecutionBeginForPersistence();
120+
}
121+
if ($task->getExecutionEndForPersistence() !== 'NULL') {
122+
$properties['execution_end'] = $task->getExecutionEndForPersistence();
123+
}
124+
return $properties;
120125
}
121126

122127
/**

ext_emconf.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
'title' => 'in2publish Core',
44
'description' => 'Content publishing extension to connect stage and production server',
55
'category' => 'plugin',
6-
'version' => '7.0.2',
6+
'version' => '7.0.3',
77
'state' => 'stable',
88
'uploadfolder' => 0,
99
'createDirs' => '',

0 commit comments

Comments
 (0)