Project

General

Profile

Actions

Feature #20957

closed

There's no possibility to hide versioning and workspaces.

Added by Rupert Germann about 15 years ago. Updated over 10 years ago.

Status:
Closed
Priority:
Should have
Category:
Workspaces
Target version:
-
Start date:
2009-08-31
Due date:
% Done:

0%

Estimated time:
PHP Version:
5.2
Tags:
Complexity:
Sprint Focus:

Description

Problem:
There's no possibility to hide versioning and workspaces.
The possibility to remove all versioning/ws related buttons and menu entries from the TYPO3 backend would result in a more cleaner (and also more logical) GUI. There would be no need anymore to explain a customer that the workspace selector has no function in his installation.
Besides this, versioning/ws needs a serious amount of performance also when it is not used. There are many sql queries done to find out, whether there are versions of a record or to find out whether a page is in a versionized branch.

Solution:
Give admins the possibility the un-install the extension 'version'. This is done by moving it from $TYPO3_CONF_VARS['EXT']['requiredExt '] to $TYPO3_CONF_VARS['EXT']['extList'] but that raises some other problems.
Having 'version' in extList will do fine for new installations but the more common case is updating an existing installation (with an existing 'extList' in localconf.php) to TYPO3 4.3. Then the changed extList from config_default.php will be ignored, resulting in versioning/ws being disabled after update. Solution for this: add a function to the update wizard in install tool which explains the new situation and allows to install 'version'.
The TCA description of table sys_workspace is currently written to t3lib/stddb and therefore always loaded. To make table 'sys_workspace' only visible when extension 'version' is loaded move its TCA description to sysext/version/.

And finally add conditions to check if 'version' is loaded to all versioning/ws related methods to prevent them doing unneeded sql-queries and other expensive stuff.

related discussion:
http://lists.typo3.org/pipermail/typo3-project-4-3/2009-August/001807.html
(issue imported from #M11828)


Related issues 1 (0 open1 closed)

Related to TYPO3 Core - Bug #20989: after Patch 11828 :missing File in sysext versionClosedRupert Germann2009-09-04

Actions
Actions

Also available in: Atom PDF