Project

General

Profile

Actions

Bug #86574

closed

PageRepository misses check for $versioningWorkspaceId > 0

Added by Frank Nägler about 6 years ago. Updated over 5 years ago.

Status:
Closed
Priority:
Must have
Assignee:
-
Category:
Workspaces
Target version:
Start date:
2018-10-04
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
9
PHP Version:
7.2
Tags:
Complexity:
Is Regression:
Yes
Sprint Focus:

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.


Related issues 2 (0 open2 closed)

Related to TYPO3 Core - Task #85078: Deprecate PageRepository->versioningPreviewClosedBenni Mack2018-05-25

Actions
Related to TYPO3 Core - Bug #86605: Error when trying to display categories through a backend moduleClosed2018-10-09

Actions
Actions #1

Updated by Frank Nägler about 6 years ago

  • Related to Task #85078: Deprecate PageRepository->versioningPreview added
Actions #2

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

Actions #3

Updated by Tymoteusz Motylewski about 6 years ago

Hi Frank,
Can you share some testing scenarios?

Actions #4

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.

Actions #5

Updated by Markus Klein about 6 years ago

  • Status changed from Under Review to Resolved
  • % Done changed from 0 to 100
Actions #6

Updated by Georg Ringer about 6 years ago

  • Related to Bug #86605: Error when trying to display categories through a backend module added
Actions #7

Updated by Benni Mack over 5 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF