Bug #91438
closedSiteAccessorTrait is too strict, when resolved record is not part of a site
100%
Description
When saving a reocrd on a page that is not part of a site, the slug field of this record,
despite being set to "uniqueInSite" is not checked for uniqueness, as it is assumed unique enough.
The SiteAccessorTrait in contrast to that, declares such record not part of the current site.
Both parts though must always behave the same and make the same assumptions.
In the future, we should throw a warning or at least a notice for such case. Records with slugs defined as "uniqueInSite"
must never be stored outside a site. It does not make any sense to do so.
Instead configuration needs to be adapted to either "unique" or even empty, whatever fits the use case.
Updated by Helmut Hummel over 4 years ago
- Related to Bug #91235: News Detail Page 404 after upgrade 9.5.16 added
Updated by Gerrit Code Review over 4 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 https://review.typo3.org/c/Packages/TYPO3.CMS/+/64520
Updated by Gerrit Code Review over 4 years ago
Patch set 2 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/64520
Updated by Gerrit Code Review over 4 years ago
Patch set 3 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/64520
Updated by Gerrit Code Review over 4 years ago
Patch set 4 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/64520
Updated by Gerrit Code Review over 4 years ago
Patch set 1 for branch 9.5 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/64525
Updated by Helmut Hummel over 4 years ago
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
Applied in changeset 1e766c5c5d418ce37c01537f2fea1cc67a02f9a5.