Project

General

Profile

Actions

Bug #20674

closed

Misleading info: No workspaces found!

Added by Marc Wöhlken over 15 years ago. Updated about 6 years ago.

Status:
Closed
Priority:
Should have
Assignee:
Category:
Workspaces
Target version:
-
Start date:
2009-06-25
Due date:
% Done:

0%

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

Description

When creating a workspace without a description the workspace module will show a default description "No workspaces found!".

This is somewhat misleading and should be replaced by a better explanation like "No description available" or an empty description.

Problem located in /typo3/mod/user/ws/index.php moduleContent_publish():

$description = ($GLOBALS['BE_USER']->workspaceRec['description'] ? htmlspecialchars($GLOBALS['BE_USER']->workspaceRec['description']) : '<em>[' . $LANG->getLL('shortcut_noWSfound') . ']</em>');

Fix (empty description):
$description = htmlspecialchars($GLOBALS['BE_USER']->workspaceRec['description']);
(issue imported from #M11415)


Files

11415.patch (1.41 KB) 11415.patch Administrator Admin, 2010-09-18 12:53
Actions #1

Updated by Benni Mack about 14 years ago

Committed to trunk (rev. 8805)
Committed to TYPO3_4.4 (rev. 8806)
Committed to TYPO3_4.3 (rev. 8807)

Actions #2

Updated by Michael Stucki almost 11 years ago

  • Category set to Workspaces
Actions #3

Updated by Michael Stucki almost 11 years ago

  • Project changed from 624 to TYPO3 Core
  • Category changed from Workspaces to Workspaces
  • Target version deleted (0)
Actions #4

Updated by Benni Mack about 6 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF