Skip to content

Commit ea7fbaa

Browse files
committed
Merge branch 'release/10.3.1'
2 parents d40def4 + 0614d0e commit ea7fbaa

File tree

6 files changed

+16
-27
lines changed

6 files changed

+16
-27
lines changed

Classes/Finisher/SaveToAnyTableFinisher.php

Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -10,19 +10,12 @@
1010
use TYPO3\CMS\Extbase\Object\Exception;
1111
use TYPO3\CMS\Extbase\SignalSlot\Exception\InvalidSlotException;
1212
use TYPO3\CMS\Extbase\SignalSlot\Exception\InvalidSlotReturnException;
13-
use TYPO3\CMS\Frontend\ContentObject\ContentObjectRenderer;
1413

1514
/**
1615
* Class SaveToAnyTableFinisher
1716
*/
1817
class SaveToAnyTableFinisher extends AbstractFinisher implements FinisherInterface
1918
{
20-
21-
/**
22-
* @var ContentObjectRenderer
23-
*/
24-
protected $contentObject;
25-
2619
/**
2720
* @var array
2821
*/
@@ -234,13 +227,4 @@ public function initializeFinisher(): void
234227
$this->addArrayToDataArray($mailRepository->getVariablesWithMarkersFromMail($this->mail));
235228
}
236229
}
237-
238-
/**
239-
* @param ContentObjectRenderer $contentObject
240-
* @return void
241-
*/
242-
public function injectContentObject(ContentObjectRenderer $contentObject): void
243-
{
244-
$this->contentObject = $contentObject;
245-
}
246230
}

Classes/Finisher/SendParametersFinisher.php

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -15,17 +15,11 @@
1515
*/
1616
class SendParametersFinisher extends AbstractFinisher implements FinisherInterface
1717
{
18-
1918
/**
2019
* @var ConfigurationManagerInterface
2120
*/
2221
protected $configurationManager;
2322

24-
/**
25-
* @var \TYPO3\CMS\Frontend\ContentObject\ContentObjectRenderer
26-
*/
27-
protected $contentObject = null;
28-
2923
/**
3024
* TypoScript configuration part sendPost
3125
*
@@ -129,8 +123,6 @@ protected function isEnabled(): bool
129123
*/
130124
public function initializeFinisher(): void
131125
{
132-
// @extensionScannerIgnoreLine Seems to be a false positive: getContentObject() is still correct in 9.0
133-
$this->contentObject = $this->configurationManager->getContentObject();
134126
$mailRepository = ObjectUtility::getObjectManager()->get(MailRepository::class);
135127
$this->contentObject->start($mailRepository->getVariablesWithMarkersFromMail($this->mail));
136128
$configurationService = ObjectUtility::getObjectManager()->get(ConfigurationService::class);

Configuration/TypoScript/Powermail_Frontend/setup.typoscript

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -114,8 +114,12 @@ powermail_frontend_rss {
114114
}
115115

116116
[getTSFE().type == 31311 || getTSFE().type == 31312 || getTSFE().type == 31319]
117-
# we don't want the wrapper div in our export files
118-
tt_content.stdWrap.innerWrap >
117+
# overwrite the default content element layout, because we don't want the wrapper div in our export files
118+
tt_content.list {
119+
layoutRootPaths {
120+
99 = EXT:powermail/Resources/Private/Layouts/ContentElements/Export/
121+
}
122+
}
119123
[end]
120124

121125

Documentation/Changelog/Readme.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ breaking changes and how to handle them
77

88
| Version | Release Date | Description |
99
|--------------|--------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
10+
| 10.3.1 | 2022-06-07 | Small bugfix update: Prevent exception on form submit, repair CSV/XLS/RSS in Pi2 |
1011
| 10.3.0 | 2022-06-06 | JS validation opens tab with first error field on morestep forms, Fix overrule TS settings, Fix pagebrowser in backend module, Fix finisher runner, Some more smaller fixes and code cleanups |
1112
| 10.2.0 | 2022-05-25 | Fix some tests, XLS export should be opened in a new window, fix some undefined array keys |
1213
| 10.1.0 | 2022-04-13 | Feature: New form validation: Add callbacks on form submits with errors, scroll to error field on submit |
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
<f:spaceless>
2+
3+
<f:comment>
4+
Overwrite the default content element layout for export files to remove the wrapper div
5+
</f:comment>
6+
7+
<f:render section="Main" optional="true" />
8+
</f:spaceless>

ext_emconf.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
and easy to use mailform extension with a lots of features
1010
(spam prevention, marketing information, optin, ajax submit, diagram analysis, etc...)',
1111
'category' => 'plugin',
12-
'version' => '10.3.0',
12+
'version' => '10.3.1',
1313
'state' => 'stable',
1414
'author' => 'Powermail Development Team',
1515
'author_email' => 'service@in2code.de',

0 commit comments

Comments
 (0)