Bug #64654
closedIf a sys_template record has only "basedOn" that were already included, an SQL error is shown
100%
Description
Hi there
Recursive inclusion of templates generates an SQL error, if the (already) included template is the only listed in "basedOn":
- "base template" includes
- "content rendering" includes
- "base template"
- "content rendering" includes
Because "content rendering" only has one "basedOn" which is already included before, the SQL generated contains "uid IN ()" and results in an error.
Of course recursion is not desirable, but more complex scenarios can be imagined easily, that also produce this error. If only templates are "basedOn", that are already included previously, the SQL is faulty.
Attached patch would take care of that.
PS: T3 6.2.9
Kind regards
Nils
Files
Updated by Gerrit Code Review over 9 years ago
- Status changed from New to Under Review
Patch set 1 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/40147
Updated by Andreas Fernandez over 9 years ago
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
Applied in changeset 8da061f2fd3ab6418c50c6864d99e5ae022d9934.
Updated by Gerrit Code Review over 9 years ago
- Status changed from Resolved to Under Review
Patch set 1 for branch TYPO3_6-2 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/40378
Updated by Andreas Fernandez over 9 years ago
- Status changed from Under Review to Resolved
Applied in changeset 77ac8f2fec83b19907e80506c8d61de0f8dfb923.