Issue Bug Closed

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

Kasper Skårhøj 03/21/06, 12:24 updated 12/10/13, 01:05

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)

Reviews 0

No change resolves or names this issue in its commit message, and no comment links one.