Bug #86574
closedPageRepository misses check for $versioningWorkspaceId > 0
100%
Description
With #85078 some checks in frontend/Classes/Page/PageRepository
has been changed from versioningPreview
(bool) to versioningWorkspaceId
(int).
The old bool value was set with a check versioningWorkspaceId > 0
which is now missing and break if backend user has set workspace to -99 which is the default.
Updated by Frank Nägler about 6 years ago
- Related to Task #85078: Deprecate PageRepository->versioningPreview added
Updated by Gerrit Code Review about 6 years ago
- Status changed from Accepted 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/58577
Updated by Tymoteusz Motylewski about 6 years ago
Hi Frank,
Can you share some testing scenarios?
Updated by Frank Nägler about 6 years ago
use an admin user in the backend and you run into to problem
for testing you can use the v9-cleanup branch of the blog extension: https://bitbucket.typo3.com/projects/EXT/repos/blog/browse?at=refs%2Fheads%2Ftask%2Fv9cleanup
open the BE module breaks without the patch provided by Markus.
Updated by Markus Klein about 6 years ago
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
Applied in changeset 528328dc43c2716437879ec7e7f6e4eaece9f3fa.
Updated by Georg Ringer about 6 years ago
- Related to Bug #86605: Error when trying to display categories through a backend module added