Remove rte config fram tca, fix text cleanup from linebreaks (#3)

This commit is contained in:
Dirk Koritnik 2023-03-17 12:58:06 +01:00 committed by GitHub
parent 6ab5ccf85b
commit f3b3a70948
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 31 additions and 6 deletions

View file

@ -423,13 +423,13 @@ class DestinationDataImportService
}
if ($text['rel'] == "details" && $text['type'] == "text/plain") {
$this->tmpCurrentEvent->setDetails(str_replace('\n\n', '\n', $text['value']));
$this->tmpCurrentEvent->setDetails(str_replace("\n\n", "\n", $text['value']));
}
if ($text['rel'] == "teaser" && $text['type'] == "text/plain") {
$this->tmpCurrentEvent->setTeaser(str_replace('\n\n', '\n', $text['value']));
$this->tmpCurrentEvent->setTeaser(str_replace("\n\n", "\n", $text['value']));
}
if ($text['rel'] == "PRICE_INFO" && $text['type'] == "text/plain") {
$this->tmpCurrentEvent->setPriceInfo(str_replace('\n\n', '\n', $text['value']));
$this->tmpCurrentEvent->setPriceInfo(str_replace("\n\n", "\n", $text['value']));
}
}
}

View file

@ -232,7 +232,6 @@ return [
'config' => [
'type' => 'text',
'enableRichtext' => true,
'richtextConfiguration' => 'Default',
'fieldControl' => [
'fullScreenRichtext' => [
'disabled' => false,

View file

@ -0,0 +1,28 @@
3.2.2
=====
Breaking
--------
Nothing
Features
--------
Nothing
Fixes
-----
* Remove missing rte config from events TCA
* Fix linebreak replacement in import
Tasks
-----
Nothing
Deprecation
-----------
Nothing

View file

@ -11,10 +11,8 @@ Um Voranmeldung unter 03672-486470 oder schillerhaus@rudolstadt.de wird gebeten.
Es gilt die 2G-PLUS-Regel.",,"http://www.schillerhaus.rudolstadt.de/",,,,,"1","1",,"1","1",,"1",,1,"allerlei-weihnachtliches-heute-mit-johannes-geisser"
,"2","2","0","0","0","0","0","-1","0","0","0","0","0","Tüftlerzeit",,"e_100354481","e-100354481","0",,"Die Tüftlerzeit wird dieses Mal ein weihnachtliches Angebot bereithalten. Alle kleinen Tüftler dürfen gespannt sein.
Voranmeldung über: kinderbibliothek@rudolstadt.de oder 03672-486420
Bitte beachten Sie die derzeit geltenden Zugangsregeln.",,"http://www.stadtbibliothek-rudolstadt.de/",,,,,"1","1",,"4","2",,"1",,2,"tueftlerzeit"
,"3","2","0","0","0","0","0","-1","0","0","0","0","0","Adventliche Orgelmusik (Orgel: KMD Frank Bettenhausen)",,"e_100350503","e-100350503","0",,"Immer mittwochs in der Adventszeit spielt Frank Bettenhausen solo und zusammen mit anderen Musikern auf der Steinmeyerorgel aus dem Jahr 1906. Bekannte Adventslieder, barocke und romantische Kompositionen stehen neben besinnlichen Texten von Pfarrer Johannes-Martin Weiss.
Es gilt die 2G-PLUS-Regel.",,,,,,,"1","2",,"8","3",,"1",,3,"adventliche-orgelmusik-orgel-kmd-frank-bettenhausen"
"tx_events_domain_model_date",,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,
,"uid","pid","cruser_id","hidden","starttime","endtime","sys_language_uid","l10n_parent","t3ver_oid","t3ver_wsid","t3ver_state","event","start","end","canceled","postponed_date","canceled_link","slug",,,,,,,,,,,,,,,,,,

1 tx_events_domain_model_organizer
11 tx_events_domain_model_date
12 uid pid cruser_id hidden starttime endtime sys_language_uid l10n_parent t3ver_oid t3ver_wsid t3ver_state event start end canceled postponed_date canceled_link slug
13 1 2 0 0 0 0 -1 0 0 0 0 1 1671458400 1671463800 no 0 allerlei-weihnachtliches-heute-mit-johannes-geisser-2022-12-19-1
2 2 0 0 0 0 -1 0 0 0 0 2 1671199200 1671204600 no 0 tueftlerzeit-2022-12-16-2
14 3 2 2 0 0 0 0 -1 0 0 0 0 2 1648803600 1671199200 1648810800 1671204600 no 0 tueftlerzeit-2022-04-01-3 tueftlerzeit-2022-12-16-2
15 4 3 2 0 0 0 0 -1 0 0 0 0 2 1648890000 1648803600 1648897200 1648810800 no 0 tueftlerzeit-2022-04-02-4 tueftlerzeit-2022-04-01-3
5 2 0 0 0 0 -1 0 0 0 0 2 1645106400 1645113600 no 0 tueftlerzeit-2022-02-17-5
16 6 4 2 0 0 0 0 -1 0 0 0 0 3 2 1669917600 1648890000 1669921200 1648897200 no 0 adventliche-orgelmusik-orgel-kmd-frank-bettenhausen-2022-12-01-6 tueftlerzeit-2022-04-02-4
17 7 5 2 0 0 0 0 -1 0 0 0 0 3 2 1667642400 1645106400 1667649600 1645113600 no 0 adventliche-orgelmusik-orgel-kmd-frank-bettenhausen-2022-11-05-7 tueftlerzeit-2022-02-17-5
18 8 6 2 0 0 0 0 -1 0 0 0 0 3 1668247200 1669917600 1668254400 1669921200 no 0 adventliche-orgelmusik-orgel-kmd-frank-bettenhausen-2022-11-12-8 adventliche-orgelmusik-orgel-kmd-frank-bettenhausen-2022-12-01-6