Project

General

Profile

Actions

Bug #25265

closed

Error after upgrading workspaces to 4.5 : Reviewer is not able to do his review-job anymore

Added by Markus Kappe about 13 years ago. Updated over 9 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
-
Target version:
-
Start date:
2011-03-07
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
4.5
PHP Version:
Tags:
Complexity:
Is Regression:
No
Sprint Focus:

Description

The review stage is bypassed or the reviewer has not the required rights to send an entry to the next stage (depending on your configuration)

This happens when you already had your workspaces configured prior to TYPO3 4.5 and do an core update.

Reason is that the field "reviewers" in the table sys_workspace is not used any more by the "workspace" extension, but it still exists in the database (after the upgrade) AND is used by t3lib_userauthgroup::checkWorkspace()

In the class t3lib_userauthgroup the function workspaceCheckStageForCurrent() checks if the current user is in the "responsible_persons" and has the "_ACCESS" "member" or "owner" (on a custom stage). But the function checkWorkspace() in the same class reports, that the user has "_ACCESS" "reviewer" which is not used anymore - because the data keeps in the database after upgrading to version 4.5

Workaround: delete the data in the column "reviewers" in the table "sys_workspace"

--sql
update sys_workspace set reviewers = ''

Maybe the script that does the creation of the table "sys_workspace_stage" on upgrading TYPO3 should also clean the "reviewers" column.
(issue imported from #M17877)

Actions

Also available in: Atom PDF