64098[FEATURE] Control language overlay behaviour for Insert Records element
Commit message
Review
-
Code review CR 0
-
Verified V 0
Issues 1
Files 7
- typo3/sysext/core/Documentation/Changelog/master/Feature-87982-LanguageOverlayForRecordsInInsertRecordElement.rst2new+35 −0
- typo3/sysext/fluid_styled_content/Configuration/TypoScript/ContentElement/Shortcut.typoscript+1 −0
- typo3/sysext/frontend/Classes/ContentObject/RecordsContentObject.php2+2 −1
- typo3/sysext/frontend/Configuration/TCA/tt_content.php3+16 −0
- typo3/sysext/frontend/Resources/Private/Language/locallang_ttc.xlf1+6 −0
- typo3/sysext/frontend/ext_tables.sql+1 −0
- typo3/sysext/t3editor/Resources/Private/tsref.xml+5 −0
Review log 2128
Show 23 earlier messages
-
Georg Ringer uploaded patch set 1 04/07/20, 21:29
-
TYPO3com voted on patch set 1 V +1 04/07/20, 21:41 Completed build in 11m 55s on Tue, 7 Apr, 09:41 PM Test Summary: 73362 passed Find logs and detail information at https://bamboo.typo3.com/browse/CORE-GTC-2286
-
Oli Bartsch commented on patch set 1 04/07/20, 21:55
tt_content.php:1056UnresolvedShould we also add the description from your extension to clarify what this checkbox really does? Just thinking about editors which are not so familiar with the term "language overlay". Maybe we could also just adjust the label to be more clear.
-
Georg Ringer commented on patch set 1 04/08/20, 04:36
As this should be backported, we place the rst there. I am not so sure yet about the wording, that is why I left the description yet -
Josef Glatz commented on patch set 1 CR -1 04/08/20, 05:09
Important-87982-LanguageOverlayForRecordsInInsertRecordElement.rst:1ReplyI think you‘re right Oliver! Master first, then moving it while backport.RecordsContentObject.php:98UnresolvedNew property needs to be added to tsref.xml -
Josef Glatz commented on patch set 1 04/08/20, 06:21
Important-87982-LanguageOverlayForRecordsInInsertRecordElement.rst:1ReplyDone, Georg was right. I noticed it wrong -
Georg Ringer uploaded patch set 2 04/08/20, 08:25
-
Josef Glatz commented on patch set 2 04/08/20, 08:34
locallang_ttc.xlf:465Unresolvedis there any chance to not have a true-means-disabled? What about setting default value to 1 in DB and renaming this to enable_language_overlay? -
Markus Klein commented on patch set 2 04/08/20, 08:52
Important-87982-LanguageOverlayForRecordsInInsertRecordElement.rst:4UnresolvedTranslation behaviour for Insert Record content elements is adjustable -
TYPO3com voted on patch set 2 V +1 04/08/20, 08:58 Completed build in 27m 05s on Wed, 8 Apr, 08:58 AM Test Summary: 73363 passed Find logs and detail information at https://bamboo.typo3.com/browse/CORE-GTC-2290
-
Benni Mack commented on patch set 2 04/08/20, 09:03
I will look into it - I guess we should inject a custom LanguageAspect and setting the "overlayType" (as TypoScript property) in there. -
Georg Ringer commented on patch set 2 04/08/20, 11:24
> I will look into it - I guess we should inject a custom LanguageAspect and setting the "overlayType" (as TypoScript property) in there. I am not really sure about that. IMO the editor must have the option to insert a record with a sys_language which is not even related to the language of current page Having languages Default EN DE: Fallback to EN RU: Strict FR: Fallback to DE IMO an editor must have the option to render on DE page even a record of RU or FR. Otherwise we would again have the situation that something has been selected which won't be rendered. -
Benni Mack updated the commit message in patch set 3 05/25/20, 18:46
-
TYPO3com voted on patch set 3 V -1 05/25/20, 20:00 Completed build in 1h 11m 29s on Mon, 25 May, 08:00 PM Test Summary: 1 of 74292 failed Find logs and detail information at https://bamboo.typo3.com/browse/CORE-GTC-3540
-
Georg Ringer rebased onto patch set 4 09/10/20, 19:19
-
TYPO3com voted on patch set 4 V +1 09/10/20, 19:31 Completed build in 11m 03s on Thu, 10 Sep, 07:31 PM Test Summary: 73173 passed Find logs and detail information at https://bamboo.typo3.com/browse/CORE-GTC-5516
-
Georg Ringer uploaded patch set 5 09/17/20, 18:59
-
TYPO3com voted on patch set 5 V +1 09/17/20, 19:13 Completed build in 13m 40s on Thu, 17 Sep, 07:13 PM Test Summary: 73281 passed Find logs and detail information at https://bamboo.typo3.com/browse/CORE-GTC-5694
-
Oli Bartsch commented on patch set 5 V +1 CR -1 09/22/20, 16:34
Feature-87982-LanguageOverlayForRecordsInInsertRecordElement.rst:16Unresolved"added to tt_content" or "added to the content element"RecordsContentObject.php:99UnresolvedPlease use stdWrapValue('disableLanguageOverlay', $conf ?? []) to unify as in the rest of the class (see: https://forge.typo3.org/issues/92216)tt_content.php:1098UnresolvedLet's use 'config' => [ 'type' => 'check', 'renderType' => 'checkboxToggle', 'default' => 1, 'items' => [ [ 0 => '', 1 => '', ] ], ] to unify the UX in the element. -
Georg Ringer uploaded patch set 6 09/22/20, 17:57
-
TYPO3com voted on patch set 6 V -1 09/22/20, 17:57 Completed build in 20s on Tue, 22 Sep, 05:57 PM Test Summary: No tests found Find logs and detail information at https://bamboo.typo3.com/browse/CORE-GTC-5826
-
Oliver Hader commented on patch set 6 CR -1 09/22/20, 18:41
Is there probably a different way than introducing a new field to control this frontend related behavior? Besides that I'd be in favor in general of using "enable" instead of "disable" to avoid `if (!$disabled)`tt_content.php:1110Unresolvedisn't something missing here? -
Georg Ringer uploaded patch set 7 09/22/20, 19:00
-
Georg Ringer commented on patch set 7 09/22/20, 19:01
> Is there probably a different way than introducing a new field to control this frontend related behavior? IMO not as this is a case-by-case issue and content related -
TYPO3com voted on patch set 7 V +1 09/22/20, 19:11 Completed build in 11m 16s on Tue, 22 Sep, 07:11 PM Test Summary: 73676 passed Find logs and detail information at https://bamboo.typo3.com/browse/CORE-GTC-5827
-
Markus Klein commented on patch set 7 09/23/20, 06:22
I'm not sure how this behaves with relations of tt_content. It for sure works flawlessly with pure text elements, but what happens with login form elements and others, which use DB relations. If no overlay is performed then this might cause issues. I know it's tough, but I would definitely see the need to cover this with a lot of functional tests, which ensures correct functionality even for complex tt_content elements being inserted.Feature-87982-LanguageOverlayForRecordsInInsertRecordElement.rst:12Unresolvedoverlaid -
Georg Ringer abandoned the change 10/19/21, 19:05
abandoned, no interest -
Sybille Peters commented on patch set 7 07/22/22, 13:05
What is the reason for this being abandoned? If this should not be pursued, perhaps it is also better to close the related issue with some explanation, e.g. something like either "current behaviour is intended" or "is a bug but will not fix" or something like that and possibly how to deal with older instances which relied on the behaviour being different before. Thanks.
Important-87982-LanguageOverlayForRecordsInInsertRecordElement.rst:1