http://forge.typo3.org/http://forge.typo3.org/themes/typo3_forge/favicon/favicon.png?17058661692019-04-14T13:51:59ZTYPO3 ForgeTYPO3 Core - Bug #88144: TcaGroup does not respect deleted elements in a workspacehttp://forge.typo3.org/issues/88144?journal_id=3981572019-04-14T13:51:59ZRobert Vock
<ul></ul><p>I think the correct solution would be to remove the deletePlaceholders after getting the items from DB:<br /><a href="https://github.com/TYPO3/TYPO3.CMS/blob/68d3c311fbb9252f29e75e8d9596c9498a78d959/typo3/sysext/backend/Classes/Form/FormDataProvider/TcaGroup.php#L85" class="external">TcaGroup.php:86</a></p>
<code><pre>
$relationHandler->getFromDB();
$relationHandler->processDeletePlaceholder(); // <-- NEW
$relations = $relationHandler->getResolvedItemArray();
</pre></code>
<p>But it also appears that the RelationHandler does not correctly purges delete placeholders:<br /><a href="https://github.com/TYPO3/TYPO3.CMS/blob/68d3c311fbb9252f29e75e8d9596c9498a78d959/typo3/sysext/core/Classes/Database/RelationHandler.php#L1565" class="external">RelationHandler.php:1565</a><br /><code><pre>
$queryBuilder->expr()->neq(
't3ver_wsid',
$queryBuilder->createNamedParameter(
$this->getWorkspaceId(),
\PDO::PARAM_INT
)
),
</pre></code></p>
<p>It removes all elements which are deleted in OTHER workspaces, not in the current. If I am correct, the <strong>neq</strong> should be a <strong>eq</strong>.</p> TYPO3 Core - Bug #88144: TcaGroup does not respect deleted elements in a workspacehttp://forge.typo3.org/issues/88144?journal_id=3981582019-04-14T14:05:52ZGerrit Code Review
<ul><li><strong>Status</strong> changed from <i>New</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/+/60468">https://review.typo3.org/c/Packages/TYPO3.CMS/+/60468</a></p> TYPO3 Core - Bug #88144: TcaGroup does not respect deleted elements in a workspacehttp://forge.typo3.org/issues/88144?journal_id=3982142019-04-15T10:16:47ZGerrit 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/+/60468">https://review.typo3.org/c/Packages/TYPO3.CMS/+/60468</a></p> TYPO3 Core - Bug #88144: TcaGroup does not respect deleted elements in a workspacehttp://forge.typo3.org/issues/88144?journal_id=3982202019-04-15T12:27:37ZGerrit 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/+/60468">https://review.typo3.org/c/Packages/TYPO3.CMS/+/60468</a></p> TYPO3 Core - Bug #88144: TcaGroup does not respect deleted elements in a workspacehttp://forge.typo3.org/issues/88144?journal_id=4067772019-09-27T11:14:00ZBenni Mackbenni@typo3.org
<ul><li><strong>Related to</strong> <i><a class="issue tracker-1 status-5 priority-4 priority-default closed" href="/issues/88046">Bug #88046</a>: RelationHandler does not respect deleted elements</i> added</li></ul> TYPO3 Core - Bug #88144: TcaGroup does not respect deleted elements in a workspacehttp://forge.typo3.org/issues/88144?journal_id=4067872019-09-27T12:09:33ZGerrit 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/+/60468">https://review.typo3.org/c/Packages/TYPO3.CMS/+/60468</a></p> TYPO3 Core - Bug #88144: TcaGroup does not respect deleted elements in a workspacehttp://forge.typo3.org/issues/88144?journal_id=4067882019-09-27T12:13:15ZGerrit 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/+/60468">https://review.typo3.org/c/Packages/TYPO3.CMS/+/60468</a></p> TYPO3 Core - Bug #88144: TcaGroup does not respect deleted elements in a workspacehttp://forge.typo3.org/issues/88144?journal_id=4067892019-09-27T12:16:43ZGerrit Code Review
<ul></ul><p>Patch set 6 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/+/60468">https://review.typo3.org/c/Packages/TYPO3.CMS/+/60468</a></p> TYPO3 Core - Bug #88144: TcaGroup does not respect deleted elements in a workspacehttp://forge.typo3.org/issues/88144?journal_id=4068082019-09-27T14:46:38ZGerrit Code Review
<ul></ul><p>Patch set 7 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/+/60468">https://review.typo3.org/c/Packages/TYPO3.CMS/+/60468</a></p> TYPO3 Core - Bug #88144: TcaGroup does not respect deleted elements in a workspacehttp://forge.typo3.org/issues/88144?journal_id=4242992020-04-30T09:09:50ZGerrit Code Review
<ul></ul><p>Patch set 8 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/+/60468">https://review.typo3.org/c/Packages/TYPO3.CMS/+/60468</a></p> TYPO3 Core - Bug #88144: TcaGroup does not respect deleted elements in a workspacehttp://forge.typo3.org/issues/88144?journal_id=4259622020-05-25T20:48:51ZGerrit Code Review
<ul></ul><p>Patch set 9 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/+/60468">https://review.typo3.org/c/Packages/TYPO3.CMS/+/60468</a></p> TYPO3 Core - Bug #88144: TcaGroup does not respect deleted elements in a workspacehttp://forge.typo3.org/issues/88144?journal_id=4571222021-11-08T16:52:46ZGerrit Code Review
<ul></ul><p>Patch set 10 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/+/60468">https://review.typo3.org/c/Packages/TYPO3.CMS/+/60468</a></p> TYPO3 Core - Bug #88144: TcaGroup does not respect deleted elements in a workspacehttp://forge.typo3.org/issues/88144?journal_id=4571262021-11-08T17:43:13ZGerrit Code Review
<ul></ul><p>Patch set 1 for branch <strong>10.4</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/+/71929">https://review.typo3.org/c/Packages/TYPO3.CMS/+/71929</a></p> TYPO3 Core - Bug #88144: TcaGroup does not respect deleted elements in a workspacehttp://forge.typo3.org/issues/88144?journal_id=4571272021-11-08T17:45:17ZAnonymous
<ul><li><strong>Status</strong> changed from <i>Under Review</i> to <i>Resolved</i></li><li><strong>% Done</strong> changed from <i>0</i> to <i>100</i></li></ul><p>Applied in changeset <a class="changeset" title="[BUGFIX] Properly handle deleted placeholders in TCA group and select The TCA types "group" and ..." href="http://forge.typo3.org/projects/typo3cms-core/repository/1749/revisions/81f6cb1c49926befddd3b2e2a762bed31fe52899">81f6cb1c49926befddd3b2e2a762bed31fe52899</a>.</p> TYPO3 Core - Bug #88144: TcaGroup does not respect deleted elements in a workspacehttp://forge.typo3.org/issues/88144?journal_id=4759382022-10-04T14:00:00ZBenni Mackbenni@typo3.org
<ul><li><strong>Status</strong> changed from <i>Resolved</i> to <i>Closed</i></li></ul>