Task #79339

Streamline assignment of current workspace in DataHandler

Added by Oliver Hader almost 3 years ago. Updated about 1 year ago.

Status:
Closed
Priority:
Should have
Assignee:
Category:
Workspaces
Target version:
-
Start date:
2017-01-16
Due date:
% Done:

100%

TYPO3 Version:
8
PHP Version:
7.1
Tags:
Complexity:
Sprint Focus:

Description

The processing of data structures in DataHandler and RelationHandler are bound to each other. DataHandler allows to be initialized with a custom BE_USER instance and thus with a custom workspace, different to the actual value of the real instance of $GLOBALS['BE_USER'].

Associated revisions

Revision 02b97c45 (diff)
Added by Oliver Hader almost 3 years ago

[TASK] Streamline assignment of current workspace in DataHandler

The processing of data structures in DataHandler and RelationHandler
are bound to each other. DataHandler allows to be initialized with a
custom BE_USER instance and thus with a custom workspace, different
to the actual value of the real instance of $GLOBALS['BE_USER'].

This patch streamlines the workspace disposal by explicitly
forwarding the provided workspace to RelationHandler and avoids
fetching the current workspace for processing from global values.

The consideration of workspace related fields in RelationHandler was
bound to the current workspace of the global backend user - however,
this backend user constraint has been removed now.

Resolves: #79339
Releases: master
Change-Id: I3973d55c5b9d99ed2e976b86136338fee79d5f6e
Reviewed-on: https://review.typo3.org/51325
Tested-by: TYPO3com <>
Reviewed-by: Susanne Moog <>
Reviewed-by: Benni Mack <>
Tested-by: Benni Mack <>
Tested-by: Susanne Moog <>

History

#1 Updated by Gerrit Code Review almost 3 years ago

  • Status changed from New to Under Review

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/51325

#2 Updated by Gerrit Code Review almost 3 years ago

Patch set 5 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/51325

#3 Updated by Oliver Hader almost 3 years ago

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

#4 Updated by Benni Mack about 1 year ago

  • Status changed from Resolved to Closed

Also available in: Atom PDF