[TYPO3-UG Denmark] Fejl med gammel dato i news

Claus Dalum, Nexus Kommunikation A/S claus at nexus.dk
Wed Feb 4 09:41:55 CET 2015


Fejl med caching af  gammel  dato i news

 

Er der nogen der kan fortælle hvordan man slipper af med denne bug?

 

Jeg har News system (news) version  3.0.1  og det hjælper ikke at køre
update-scriptet.

 

Jeg kan finde følgende beskrivelse af fejlen, men ikke nogen løsning på
problemet:

***************************

Description:

In tx_news_domain_model_news the config for the field "datetime" states: 

 

'default' => mktime(date('H'), date('i'), 0, date('m'), date('d'),
date('Y'))

But this value is cached once the config has been parsed. That means that
when creating news, this value always is in the past.

As with the field "archive", this should be preset dynamically with a user
function (or a different default value if that's possible).

 

Link: https://forge.typo3.org/issues/58649 

 

 

 

Venlig hilsen

 

Claus Dalum
Nexus Kommunikation A/S

Østre Messegade 2

2650 Hvidovre


TLF.  36 77 00 46

kontakt at nexus.dk

 

 



More information about the TYPO3-UG-Denmark mailing list