Project

General

Profile

Actions

Bug #16831

closed

Disable clearing the cache in Draft workspace

Added by John Angel over 17 years ago. Updated over 4 years ago.

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

0%

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

Description

Functions clear_cache and clear_cacheCmd in t3lib/class.t3lib_tcemain.php shouldn't clear any page cache when working in Draft workspace. Current implementation clears the cache when working in Draft workspace.

There should be added something like:

if($GLOBALS['BE_USER']->workspace<0 && empty($_params->cmdmap)) {
// Don't clear the cache
}

The other part of IF is necessary to allow clearing the cache when publishing from Draft to Live workspace.

(issue imported from #M4739)

Actions #1

Updated by John Angel about 17 years ago

Is it possible to fix this for 4.1?

Note: I'm not 100% sure about "if" clause above (generally it works), should be checked.

Actions #2

Updated by Dmitry Dulepov over 12 years ago

  • Project changed from TYPO3 Core to 624
  • Target version deleted (0)

Could workspace guys check that this is still actual, please? :)

Actions #3

Updated by Tolleiv Nietsch about 12 years ago

  • Status changed from New to Accepted
  • PHP Version deleted (4)
Actions #4

Updated by Michael Stucki over 10 years ago

  • Category set to Workspaces
Actions #5

Updated by Michael Stucki over 10 years ago

  • Project changed from 624 to TYPO3 Core
  • Category changed from Workspaces to Workspaces
Actions #6

Updated by Mathias Schreiber over 9 years ago

  • Target version set to 7.5
Actions #7

Updated by Benni Mack over 8 years ago

  • Target version changed from 7.5 to 7 LTS
Actions #8

Updated by Mathias Schreiber over 8 years ago

  • Target version deleted (7 LTS)
Actions #9

Updated by Benni Mack over 4 years ago

  • Status changed from Accepted to Closed

We have checks that only records with a valid "pageId" are flushed, (exactly with these kind of if statements, but in a different place, also considering cache tags). since at least TYPO3 6.0. I'll close this now. If you feel differently, let me know, then I will re-open the issue.

Actions

Also available in: Atom PDF