Skip to content

Commit 1496326

Browse files
committed
[RELEASE] Version 8.2.1 with non-composer mode compat
2 parents e7093c9 + 91396bd commit 1496326

File tree

3 files changed

+11
-3
lines changed

3 files changed

+11
-3
lines changed

CHANGELOG.md

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

3+
8.2.1:
4+
5+
- [META] Set the EM conf version number to 8.2.1
6+
- [BUGFIX] Check if the constant TYPO3_COMPOSER_MODE exists before acessing it
7+
- [RELEASE] Version 8.2.0 with new signal, better RTE and inline-relation support
8+
39
8.2.0:
410

511
- [META] Set the EM conf version number to 8.2.0

Classes/Communication/RemoteCommandExecution/RemoteCommandRequest.php

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@
3030
use In2code\In2publishCore\Config\ConfigContainer;
3131
use TYPO3\CMS\Core\Utility\GeneralUtility;
3232
use function array_merge;
33+
use function defined;
3334
use function file_exists;
3435
use const PATH_site;
3536
use const TYPO3_COMPOSER_MODE;
@@ -98,11 +99,12 @@ public function __construct($command = '', array $arguments = [], array $options
9899
'IN2PUBLISH_CONTEXT' => 'Foreign',
99100
]
100101
);
102+
$isComposerMode = defined('TYPO3_COMPOSER_MODE') && true === TYPO3_COMPOSER_MODE;
101103
if ($dispatcher = $configContainer->get('foreign.dispatcher')) {
102104
$this->dispatcher = $dispatcher;
103-
} elseif (true === TYPO3_COMPOSER_MODE && file_exists(PATH_site . 'vendor/bin/typo3')) {
105+
} elseif ($isComposerMode && file_exists(PATH_site . 'vendor/bin/typo3')) {
104106
$this->dispatcher = './vendor/bin/typo3';
105-
} elseif (true === TYPO3_COMPOSER_MODE && file_exists(PATH_site . '../vendor/bin/typo3')) {
107+
} elseif ($isComposerMode && file_exists(PATH_site . '../vendor/bin/typo3')) {
106108
$this->dispatcher = './../vendor/bin/typo3';
107109
} else {
108110
$this->dispatcher = 'typo3/sysext/core/bin/typo3';

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' => '8.2.0',
6+
'version' => '8.2.1',
77
'state' => 'stable',
88
'uploadfolder' => 0,
99
'createDirs' => '',

0 commit comments

Comments
 (0)