[TYPO3-dev] Use starttime and endtime for records only available in sys_language > 0

Helmut Hummel helmut.hummel at typo3.org
Thu Nov 20 14:53:34 CET 2014


Hi Philipp,

maybe consider adding hello and goodbye to your posts. That would make 
them friendlier to read.

On 20.11.14 10:37, Philipp Wrann wrote:

> I even found issues on this topic:
> https://forge.typo3.org/issues/32252
> https://forge.typo3.org/issues/24211
>
> Do i have to fear any sideeffects when configuring starttime and endtime as l10n_mode mergeIfNotBlank and unset l10n_display?

The "side effect" can only be, that the (de-)publication of records may 
not be at the expected time. "Publication" is done by calculating the 
maximum cache lifetime for a page, respecting all content elements (and 
their publication date).

It could be, that non default language records are not considered 
properly. From a first look into the code, it looks like page cache 
lifetime calculation might work, (de-) publications for laguage=0 
records and records in a different language, but without a default 
record (includeRecordsWithoutDefaultTranslation is set) will also work, 
but different time constraints for translated records with parent 
translation will not work. Only the time set in the default language 
will have an effect. A fix for that would be quite tricky and will very 
likely not be able to go into a released version.


But you can do us (and yorself) a favor and test all cases and report 
back results of your testing :)


Kind regards,
Helmut

-- 
Helmut Hummel
Release Manager TYPO3 6.0
TYPO3 CMS Active Contributor, TYPO3 Security Team Member

TYPO3 .... inspiring people to share!
Get involved: typo3.org



More information about the TYPO3-dev mailing list