http://forge.typo3.org/http://forge.typo3.org/themes/typo3_forge/favicon/favicon.png?17058661692020-03-09T14:40:05ZTYPO3 ForgeTYPO3 Core - Bug #90430: Language handling of bidirectional mm selects is not consitent.http://forge.typo3.org/issues/90430?journal_id=4184312020-03-09T14:40:05ZOliver Haderoliver.hader@typo3.org
<ul><li><strong>Status</strong> changed from <i>New</i> to <i>Needs Feedback</i></li></ul><p>Thanks for your report, I've got a couple of questions - please see below</p>
<p>Eike Starkmann wrote:</p>
<blockquote>
<p>I found a inconsistent behaviour in the new language handling of typo3 9.5.</p>
</blockquote>
<p>Are you referring to changes for <code>l10n_mode</code> in TYPO3 v8 in the backend (<code>DataHandler</code> et al) or the introduced site language handling in TYPO3 v9?</p>
<blockquote>
<p>I open P (default language) and add T.</p>
</blockquote>
<p>How are entities/records modifies? Does that happen only in Extbase or can it be reproduced in the TYPO3 backend as well?</p> TYPO3 Core - Bug #90430: Language handling of bidirectional mm selects is not consitent.http://forge.typo3.org/issues/90430?journal_id=4184432020-03-09T16:23:50ZEike Starkmannstarkmann@undkonsorten.com
<ul></ul><p>Oliver Hader wrote:</p>
<blockquote>
<p>Thanks for your report, I've got a couple of questions - please see below</p>
<p>Eike Starkmann wrote:</p>
<blockquote>
<p>I found a inconsistent behaviour in the new language handling of typo3 9.5.</p>
</blockquote>
<p>Are you referring to changes for <code>l10n_mode</code> in TYPO3 v8 in the backend (<code>DataHandler</code> et al) or the introduced site language handling in TYPO3 v9?</p>
</blockquote>
<p>I'm refering the new language handling introduced in TYPO3 v9.</p>
<blockquote>
<blockquote>
<p>I open P (default language) and add T.</p>
</blockquote>
<p>How are entities/records modifies? Does that happen only in Extbase or can it be reproduced in the TYPO3 backend as well?</p>
</blockquote>
<p>They are modified in backend.</p> TYPO3 Core - Bug #90430: Language handling of bidirectional mm selects is not consitent.http://forge.typo3.org/issues/90430?journal_id=4242382020-04-29T11:03:46ZEike Starkmannstarkmann@undkonsorten.com
<ul></ul><p>I think this might be related to <a class="issue tracker-1 status-5 priority-3 priority-lowest closed" title="Bug: Incorrectly selected items in MM select fields (Closed)" href="http://forge.typo3.org/issues/90925">#90925</a></p>
<p>I will test soon if this problem still exists in 9.5.16</p> TYPO3 Core - Bug #90430: Language handling of bidirectional mm selects is not consitent.http://forge.typo3.org/issues/90430?journal_id=4271682020-06-26T13:01:05ZStefan P
<ul><li><strong>Priority</strong> changed from <i>Should have</i> to <i>Must have</i></li></ul><p>I can confirm this (or some related) behaviour. I have this situation:</p>
<p>I have a tree. Each record has a renderType tree field where its parent is stored. The L=1 records store there the uid of the translated(!) parent. This is done by DataHandler itself (I import the records into the database by using DataHandler and also use the DataHandler to localize them).</p>
<p>The parent/tree field is <code>l10n_mode => exlcude</code>!</p>
<p>What happens then:</p>
<p>In Extbase and L=1 I say <code>$parent->getChildren()</code> -> I get all localized children. Perfect.</p>
<p>I then go into backend, and simply save one of the L=1 child records (no changes!). Backend shows everything fine, before and after. Seems perfect (but isn't).</p>
<p>Then: I say in Extbase and L=1 <code>$parent->getChildren()</code> -> the just saved record is MISSING!</p>
<p>What did change? The save in the backend changed the stored parent uid from the L=1 uid to the L=0 uid.</p>
<p>So, either DataHandler or Extbase have a bug here. Interesting to know would be why the Datahandler behaves differently when called from a click in BE or when called in a Command (import). Seems some l10n config is treated differently here.</p> TYPO3 Core - Bug #90430: Language handling of bidirectional mm selects is not consitent.http://forge.typo3.org/issues/90430?journal_id=4271702020-06-26T13:07:37ZStefan P
<ul></ul><p>If I remove <code>l10n_mode => exclude</code> it works suddenly. The backend then does not change the refenrecned uid upon saving (it stays the one of the L=1 parent) and Extbase still displays it in the frontend.</p> TYPO3 Core - Bug #90430: Language handling of bidirectional mm selects is not consitent.http://forge.typo3.org/issues/90430?journal_id=4301232020-09-01T14:55:45ZKarsten Nowak (undkonsorten)
<ul></ul><p>Problem still exists in 9.5.20.</p>
<p>Today I tried to remove the l10n_mode setting. If I limit the selectable data to the current sys_language_uid of the record and set every relation in the translated records too, then the output in frontend is really correctly. But, I don't want editing every record twice if I add a new relation. Even more there are 3 or 4 relations to be add.</p>
<p>That can't be the solution.</p>
<p>I expect the output should be work also with l10n_mode exclude. And it does, but only when I save the data on the local side. If I save from the foreign side, then it's broken. Output in frontend is:</p>
<ul>
<li>On default language page: the translated data of the relation (e.g. the title in english not german)</li>
<li>On translated page: no relations found.</li>
</ul>
<p>I set up an ddev environment for local development for reproducing and analyzing the issue. There are a small extension with some simple models and relations between it. That makes it handy to understand the problem.</p>
<p><a class="external" href="https://github.com/undkonsorten/dummymgmt-dev">https://github.com/undkonsorten/dummymgmt-dev</a></p>
<p>Follow the Readme to setup the project. For questions I suggest slack. Write question to <code>@karsten_uk</code></p>
<p>Here was the related Thread in Slack channel: <a class="external" href="https://typo3.slack.com/archives/C025BQLFA/p1598964529303700?thread_ts=1581514117.306000&cid=C025BQLFA">https://typo3.slack.com/archives/C025BQLFA/p1598964529303700?thread_ts=1581514117.306000&cid=C025BQLFA</a></p> TYPO3 Core - Bug #90430: Language handling of bidirectional mm selects is not consitent.http://forge.typo3.org/issues/90430?journal_id=4301372020-09-01T16:53:47ZJan Kornblumjan.kornblum@googlemail.com
<ul></ul><p>I had a similar issue with bidirectional relations (1:n <-> n:1). Tried to figure out what the currently expected behaviour is for handling relations in extbase as well as in backend. Finally, i've found...</p>
<p><a class="external" href="https://review.typo3.org/c/Packages/TYPO3.CMS/+/43147/">https://review.typo3.org/c/Packages/TYPO3.CMS/+/43147/</a> <br />"The backend expects the localized uid as parent id but extbase currently saves the original uid"</p>
<p><a class="external" href="https://docs.typo3.org/m/typo3/book-extbasefluid/master/en-us/9-CrosscuttingConcerns/1-localizing-and-internationalizing-an-extension.html#typo3-v9-and-higher">https://docs.typo3.org/m/typo3/book-extbasefluid/master/en-us/9-CrosscuttingConcerns/1-localizing-and-internationalizing-an-extension.html#typo3-v9-and-higher</a></p>
<p>For me it seems to:</p>
<p>- The backend still (10 LTS) expects the relation field to point to the translated record (because when pointing to the L=0 record, i've got inconsistences at least in backend IRRE view and localization wizard)<br />- l10n_mode=exclude for relation fields is currently not supported for backend<br />- l10n_mode=exclude for relation fields is currently not supported for extbase</p>
<p>Am i right?</p> TYPO3 Core - Bug #90430: Language handling of bidirectional mm selects is not consitent.http://forge.typo3.org/issues/90430?journal_id=4328942020-10-07T15:31:24ZWolfgang Klingerwolfgang@wazum.com
<ul></ul><p><strong>ping</strong> <strong>ping</strong> still a major problem<br />I don't feel able to solve this with this code base (DataHandler, Extbase), so no patch from me!</p> TYPO3 Core - Bug #90430: Language handling of bidirectional mm selects is not consitent.http://forge.typo3.org/issues/90430?journal_id=4366112020-12-17T09:22:59ZGerrit Code Review
<ul><li><strong>Status</strong> changed from <i>Needs Feedback</i> to <i>Under Review</i></li></ul><p>Patch set 1 for branch <strong>master</strong> of project <strong>Packages/TYPO3.CMS</strong> has been pushed to the review server.<br />It is available at <a class="external" href="https://review.typo3.org/c/Packages/TYPO3.CMS/+/67172">https://review.typo3.org/c/Packages/TYPO3.CMS/+/67172</a></p> TYPO3 Core - Bug #90430: Language handling of bidirectional mm selects is not consitent.http://forge.typo3.org/issues/90430?journal_id=4366342020-12-17T14:42:49ZGerrit Code Review
<ul></ul><p>Patch set 2 for branch <strong>master</strong> of project <strong>Packages/TYPO3.CMS</strong> has been pushed to the review server.<br />It is available at <a class="external" href="https://review.typo3.org/c/Packages/TYPO3.CMS/+/67172">https://review.typo3.org/c/Packages/TYPO3.CMS/+/67172</a></p> TYPO3 Core - Bug #90430: Language handling of bidirectional mm selects is not consitent.http://forge.typo3.org/issues/90430?journal_id=4454782021-06-10T11:31:15ZJan Kornblumjan.kornblum@googlemail.com
<ul><li><strong>Related to</strong> <i><a class="issue tracker-1 status-1 priority-3 priority-lowest" href="/issues/84682">Bug #84682</a>: TYPO3 8 Relationship Localization Bug</i> added</li></ul> TYPO3 Core - Bug #90430: Language handling of bidirectional mm selects is not consitent.http://forge.typo3.org/issues/90430?journal_id=4454822021-06-10T12:19:47ZMichael Rainerrainer-michael@hotmail.com
<ul></ul><p>Is there any news? <br />The patch file is still under review, isn't it?</p> TYPO3 Core - Bug #90430: Language handling of bidirectional mm selects is not consitent.http://forge.typo3.org/issues/90430?journal_id=4477122021-07-29T15:32:44ZGerrit Code Review
<ul></ul><p>Patch set 3 for branch <strong>master</strong> of project <strong>Packages/TYPO3.CMS</strong> has been pushed to the review server.<br />It is available at <a class="external" href="https://review.typo3.org/c/Packages/TYPO3.CMS/+/67172">https://review.typo3.org/c/Packages/TYPO3.CMS/+/67172</a></p> TYPO3 Core - Bug #90430: Language handling of bidirectional mm selects is not consitent.http://forge.typo3.org/issues/90430?journal_id=4526072021-09-10T16:11:34ZJan Kornblumjan.kornblum@googlemail.com
<ul></ul><p>This issue schould be extended to "language handling in relations is not constistent" in general. For example, (bidirektional) inline relations (1:n inline <-> n:1 select) should be evaluated, too. Lets have "seminar" and "event" (seminar.events = 1:n inline, event.seminar = n:1 select). I've spent the whole day trying to get any TCA configuration where both relations are set to "l10n_mode=exclude", without success. I think the "relation + translation" handling should be checked completely, also in conjunction with extbase.</p> TYPO3 Core - Bug #90430: Language handling of bidirectional mm selects is not consitent.http://forge.typo3.org/issues/90430?journal_id=4528992021-09-14T18:45:46ZGerrit Code Review
<ul></ul><p>Patch set 4 for branch <strong>master</strong> of project <strong>Packages/TYPO3.CMS</strong> has been pushed to the review server.<br />It is available at <a class="external" href="https://review.typo3.org/c/Packages/TYPO3.CMS/+/67172">https://review.typo3.org/c/Packages/TYPO3.CMS/+/67172</a></p> TYPO3 Core - Bug #90430: Language handling of bidirectional mm selects is not consitent.http://forge.typo3.org/issues/90430?journal_id=4531052021-09-16T19:35:51ZJan Kornblumjan.kornblum@googlemail.com
<ul><li><strong>Related to</strong> <i><a class="issue tracker-1 status-8 priority-3 priority-lowest" href="/issues/65859">Bug #65859</a>: Support l10n_mode in extbase</i> added</li></ul> TYPO3 Core - Bug #90430: Language handling of bidirectional mm selects is not consitent.http://forge.typo3.org/issues/90430?journal_id=4579632021-11-18T10:47:59ZGerrit Code Review
<ul></ul><p>Patch set 5 for branch <strong>master</strong> of project <strong>Packages/TYPO3.CMS</strong> has been pushed to the review server.<br />It is available at <a class="external" href="https://review.typo3.org/c/Packages/TYPO3.CMS/+/67172">https://review.typo3.org/c/Packages/TYPO3.CMS/+/67172</a></p> TYPO3 Core - Bug #90430: Language handling of bidirectional mm selects is not consitent.http://forge.typo3.org/issues/90430?journal_id=4588692021-11-29T14:07:01ZGerrit Code Review
<ul></ul><p>Patch set 6 for branch <strong>main</strong> of project <strong>Packages/TYPO3.CMS</strong> has been pushed to the review server.<br />It is available at <a class="external" href="https://review.typo3.org/c/Packages/TYPO3.CMS/+/67172">https://review.typo3.org/c/Packages/TYPO3.CMS/+/67172</a></p> TYPO3 Core - Bug #90430: Language handling of bidirectional mm selects is not consitent.http://forge.typo3.org/issues/90430?journal_id=4691392022-05-18T19:49:53ZMaik Kempe
<ul><li><strong>Related to</strong> <i><a class="issue tracker-1 status-8 priority-4 priority-default" href="/issues/92777">Bug #92777</a>: TCA l10n_mode exclude and MM relations</i> added</li></ul> TYPO3 Core - Bug #90430: Language handling of bidirectional mm selects is not consitent.http://forge.typo3.org/issues/90430?journal_id=4925602023-05-03T09:05:12ZGerrit Code Review
<ul></ul><p>Patch set 7 for branch <strong>main</strong> of project <strong>Packages/TYPO3.CMS</strong> has been pushed to the review server.<br />It is available at <a class="external" href="https://review.typo3.org/c/Packages/TYPO3.CMS/+/67172">https://review.typo3.org/c/Packages/TYPO3.CMS/+/67172</a></p> TYPO3 Core - Bug #90430: Language handling of bidirectional mm selects is not consitent.http://forge.typo3.org/issues/90430?journal_id=4965042023-07-06T11:50:51ZGerrit Code Review
<ul></ul><p>Patch set 8 for branch <strong>main</strong> of project <strong>Packages/TYPO3.CMS</strong> has been pushed to the review server.<br />It is available at <a class="external" href="https://review.typo3.org/c/Packages/TYPO3.CMS/+/67172">https://review.typo3.org/c/Packages/TYPO3.CMS/+/67172</a></p> TYPO3 Core - Bug #90430: Language handling of bidirectional mm selects is not consitent.http://forge.typo3.org/issues/90430?journal_id=4966582023-07-06T18:29:12ZGerrit Code Review
<ul></ul><p>Patch set 9 for branch <strong>main</strong> of project <strong>Packages/TYPO3.CMS</strong> has been pushed to the review server.<br />It is available at <a class="external" href="https://review.typo3.org/c/Packages/TYPO3.CMS/+/67172">https://review.typo3.org/c/Packages/TYPO3.CMS/+/67172</a></p> TYPO3 Core - Bug #90430: Language handling of bidirectional mm selects is not consitent.http://forge.typo3.org/issues/90430?journal_id=5040662023-11-07T10:10:18ZJan Kornblumjan.kornblum@googlemail.com
<ul><li><strong>Related to</strong> <i><a class="issue tracker-1 status-1 priority-4 priority-default" href="/issues/102336">Bug #102336</a>: Add support for localizing n:1 relations</i> added</li></ul> TYPO3 Core - Bug #90430: Language handling of bidirectional mm selects is not consitent.http://forge.typo3.org/issues/90430?journal_id=5121062024-03-13T12:45:52ZGerrit Code Review
<ul></ul><p>Patch set 10 for branch <strong>main</strong> of project <strong>Packages/TYPO3.CMS</strong> has been pushed to the review server.<br />It is available at <a class="external" href="https://review.typo3.org/c/Packages/TYPO3.CMS/+/67172">https://review.typo3.org/c/Packages/TYPO3.CMS/+/67172</a></p> TYPO3 Core - Bug #90430: Language handling of bidirectional mm selects is not consitent.http://forge.typo3.org/issues/90430?journal_id=5121432024-03-13T21:56:11ZGerrit Code Review
<ul></ul><p>Patch set 11 for branch <strong>main</strong> of project <strong>Packages/TYPO3.CMS</strong> has been pushed to the review server.<br />It is available at <a class="external" href="https://review.typo3.org/c/Packages/TYPO3.CMS/+/67172">https://review.typo3.org/c/Packages/TYPO3.CMS/+/67172</a></p> TYPO3 Core - Bug #90430: Language handling of bidirectional mm selects is not consitent.http://forge.typo3.org/issues/90430?journal_id=5121442024-03-13T22:18:13ZGerrit Code Review
<ul></ul><p>Patch set 12 for branch <strong>main</strong> of project <strong>Packages/TYPO3.CMS</strong> has been pushed to the review server.<br />It is available at <a class="external" href="https://review.typo3.org/c/Packages/TYPO3.CMS/+/67172">https://review.typo3.org/c/Packages/TYPO3.CMS/+/67172</a></p> TYPO3 Core - Bug #90430: Language handling of bidirectional mm selects is not consitent.http://forge.typo3.org/issues/90430?journal_id=5121452024-03-13T22:31:47ZGerrit Code Review
<ul></ul><p>Patch set 13 for branch <strong>main</strong> of project <strong>Packages/TYPO3.CMS</strong> has been pushed to the review server.<br />It is available at <a class="external" href="https://review.typo3.org/c/Packages/TYPO3.CMS/+/67172">https://review.typo3.org/c/Packages/TYPO3.CMS/+/67172</a></p> TYPO3 Core - Bug #90430: Language handling of bidirectional mm selects is not consitent.http://forge.typo3.org/issues/90430?journal_id=5122022024-03-14T17:23:12ZGerrit Code Review
<ul></ul><p>Patch set 14 for branch <strong>main</strong> of project <strong>Packages/TYPO3.CMS</strong> has been pushed to the review server.<br />It is available at <a class="external" href="https://review.typo3.org/c/Packages/TYPO3.CMS/+/67172">https://review.typo3.org/c/Packages/TYPO3.CMS/+/67172</a></p> TYPO3 Core - Bug #90430: Language handling of bidirectional mm selects is not consitent.http://forge.typo3.org/issues/90430?journal_id=5122052024-03-14T18:15:20ZGerrit Code Review
<ul></ul><p>Patch set 15 for branch <strong>main</strong> of project <strong>Packages/TYPO3.CMS</strong> has been pushed to the review server.<br />It is available at <a class="external" href="https://review.typo3.org/c/Packages/TYPO3.CMS/+/67172">https://review.typo3.org/c/Packages/TYPO3.CMS/+/67172</a></p> TYPO3 Core - Bug #90430: Language handling of bidirectional mm selects is not consitent.http://forge.typo3.org/issues/90430?journal_id=5122622024-03-15T16:07:16ZGerrit Code Review
<ul></ul><p>Patch set 16 for branch <strong>main</strong> of project <strong>Packages/TYPO3.CMS</strong> has been pushed to the review server.<br />It is available at <a class="external" href="https://review.typo3.org/c/Packages/TYPO3.CMS/+/67172">https://review.typo3.org/c/Packages/TYPO3.CMS/+/67172</a></p> TYPO3 Core - Bug #90430: Language handling of bidirectional mm selects is not consitent.http://forge.typo3.org/issues/90430?journal_id=5122872024-03-16T16:59:54ZGerrit Code Review
<ul></ul><p>Patch set 17 for branch <strong>main</strong> of project <strong>Packages/TYPO3.CMS</strong> has been pushed to the review server.<br />It is available at <a class="external" href="https://review.typo3.org/c/Packages/TYPO3.CMS/+/67172">https://review.typo3.org/c/Packages/TYPO3.CMS/+/67172</a></p> TYPO3 Core - Bug #90430: Language handling of bidirectional mm selects is not consitent.http://forge.typo3.org/issues/90430?journal_id=5122972024-03-17T11:42:58ZGerrit Code Review
<ul></ul><p>Patch set 18 for branch <strong>main</strong> of project <strong>Packages/TYPO3.CMS</strong> has been pushed to the review server.<br />It is available at <a class="external" href="https://review.typo3.org/c/Packages/TYPO3.CMS/+/67172">https://review.typo3.org/c/Packages/TYPO3.CMS/+/67172</a></p> TYPO3 Core - Bug #90430: Language handling of bidirectional mm selects is not consitent.http://forge.typo3.org/issues/90430?journal_id=5123002024-03-17T12:02:56ZGerrit Code Review
<ul></ul><p>Patch set 19 for branch <strong>main</strong> of project <strong>Packages/TYPO3.CMS</strong> has been pushed to the review server.<br />It is available at <a class="external" href="https://review.typo3.org/c/Packages/TYPO3.CMS/+/67172">https://review.typo3.org/c/Packages/TYPO3.CMS/+/67172</a></p> TYPO3 Core - Bug #90430: Language handling of bidirectional mm selects is not consitent.http://forge.typo3.org/issues/90430?journal_id=5123032024-03-17T12:23:51ZGerrit Code Review
<ul></ul><p>Patch set 20 for branch <strong>main</strong> of project <strong>Packages/TYPO3.CMS</strong> has been pushed to the review server.<br />It is available at <a class="external" href="https://review.typo3.org/c/Packages/TYPO3.CMS/+/67172">https://review.typo3.org/c/Packages/TYPO3.CMS/+/67172</a></p> TYPO3 Core - Bug #90430: Language handling of bidirectional mm selects is not consitent.http://forge.typo3.org/issues/90430?journal_id=5123062024-03-17T12:24:35ZGerrit Code Review
<ul></ul><p>Patch set 21 for branch <strong>main</strong> of project <strong>Packages/TYPO3.CMS</strong> has been pushed to the review server.<br />It is available at <a class="external" href="https://review.typo3.org/c/Packages/TYPO3.CMS/+/67172">https://review.typo3.org/c/Packages/TYPO3.CMS/+/67172</a></p> TYPO3 Core - Bug #90430: Language handling of bidirectional mm selects is not consitent.http://forge.typo3.org/issues/90430?journal_id=5126402024-03-24T09:07:10ZGerrit Code Review
<ul></ul><p>Patch set 22 for branch <strong>main</strong> of project <strong>Packages/TYPO3.CMS</strong> has been pushed to the review server.<br />It is available at <a class="external" href="https://review.typo3.org/c/Packages/TYPO3.CMS/+/67172">https://review.typo3.org/c/Packages/TYPO3.CMS/+/67172</a></p> TYPO3 Core - Bug #90430: Language handling of bidirectional mm selects is not consitent.http://forge.typo3.org/issues/90430?journal_id=5126452024-03-24T13:42:34ZGerrit Code Review
<ul></ul><p>Patch set 23 for branch <strong>main</strong> of project <strong>Packages/TYPO3.CMS</strong> has been pushed to the review server.<br />It is available at <a class="external" href="https://review.typo3.org/c/Packages/TYPO3.CMS/+/67172">https://review.typo3.org/c/Packages/TYPO3.CMS/+/67172</a></p> TYPO3 Core - Bug #90430: Language handling of bidirectional mm selects is not consitent.http://forge.typo3.org/issues/90430?journal_id=5126482024-03-24T14:24:27ZGerrit Code Review
<ul></ul><p>Patch set 24 for branch <strong>main</strong> of project <strong>Packages/TYPO3.CMS</strong> has been pushed to the review server.<br />It is available at <a class="external" href="https://review.typo3.org/c/Packages/TYPO3.CMS/+/67172">https://review.typo3.org/c/Packages/TYPO3.CMS/+/67172</a></p> TYPO3 Core - Bug #90430: Language handling of bidirectional mm selects is not consitent.http://forge.typo3.org/issues/90430?journal_id=5126512024-03-24T14:41:51ZGerrit Code Review
<ul></ul><p>Patch set 25 for branch <strong>main</strong> of project <strong>Packages/TYPO3.CMS</strong> has been pushed to the review server.<br />It is available at <a class="external" href="https://review.typo3.org/c/Packages/TYPO3.CMS/+/67172">https://review.typo3.org/c/Packages/TYPO3.CMS/+/67172</a></p>