Project

General

Profile

Actions

Bug #15869

closed

Selection of Template Records in a draft workspace doesn't filter start/endtime and hidden field correctly

Added by Kasper Skårhøj about 18 years ago. Updated over 10 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
Workspaces
Target version:
-
Start date:
2006-03-21
Due date:
% Done:

0%

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

Description

In t3lib_tstemplate.php the template records from the root line is collected by a series of SQL statements. Template Records are filtered with $this->whereClause which includes check for "enableFields" and "deleted", all initialize in the init() function.
Under preview in draft workspaces the correct behaviour would be to select all records and filter away those which are marked deleted, hidden in the workspace, start/endtime in workspace etc. This doesn't happen at the moment.
However, I don't consider the fix trivial because it must be made sure that any draft composition of template records is _NOT_cached (which could affect online site).

(issue imported from #M2946)

Actions

Also available in: Atom PDF