[BUGFIX] Make sys_file_metadata publishable 83/34183/3
authorHelmut Hummel <helmut.hummel@typo3.org>
Fri, 14 Nov 2014 11:14:09 +0000 (12:14 +0100)
committerHelmut Hummel <helmut.hummel@typo3.org>
Fri, 14 Nov 2014 19:36:27 +0000 (20:36 +0100)
commit8f06c8d6e40a205cb721b48e3adf5168c049044c
treec274ba51ca9ac480dad870d82893e69a0b1f7a34
parent1b82aa36812fd2435f5b756398df809d213bfbf8
[BUGFIX] Make sys_file_metadata publishable

Currently sys_file_metadata records that are edited in a workspace
cannot be published because the workspace module does not know
about ignored root level restrictions and these records are on
root level by definition.

Include the root page when searching for workspace records
and show elements for which root level restriction is ignored.

Resolves: #60343
Releases: 6.2, master
Change-Id: Ib82f5c7f7a67824c5d7d4e7cdaa01c89e0912731
Reviewed-on: http://review.typo3.org/34183
Reviewed-by: Helmut Hummel <helmut.hummel@typo3.org>
Tested-by: Helmut Hummel <helmut.hummel@typo3.org>
typo3/sysext/workspaces/Classes/Service/WorkspaceService.php