[TYPO3-core] RFC Bug #5611 Frontend preview and simulate time is buggy

Michael Stucki michael at typo3.org
Thu Nov 6 18:39:56 CET 2008


Thanks Ralf for putting this up.

The problem with this issue is that it's about versioning, and in fear
of breaking something we're not aware of I would like to have Kaspers
feedback about it. I have asked him a year ago but think I never got a
feedback from him. So I just asked him once again now.

Additionally I will try to get Dmitry look into it, as he is probably
the person with the best knowledge about versioning next to Kasper.

Will keep you posted!
- michael

Ralf Hettinger schrieb:
> This is an SVN patch request.
> 
> 
> Type: Bug
> 
> 
> Bugtracker references:
> http://bugs.typo3.org/view.php?id=5611
> 
> 
> Branches:
> 4.1, 4.2, trunk (4.3)
> 
> 
> Problem:
> Preview time is not respected correctly in FE when using the admin
> panel. As soon as it is set, all content is displayed disregarding any
> start- and enddates.
> 
> 
> Solution:
> (quoting Michael Stucki, who reported and -I think- solved the problem)
> "It seems like sys_page->versioningPreview is set as soon as
> $TSFE->fePreview is true. However, fePreview is not the same like a
> versioning preview. Therefore, the check must be changed.
> 
> I'm not sure how to assure if we are in versioningPreview mode, but I
> assume that one of these needs to be set:
> - t3lib_div::_GP('ADMCMD_view')
> - intval($TSFE->workspacePreview)
> 
> That should also cover any versioning preview links (ADMCMD_prev)..."
> 
> 
> Notes:
> As from my experience and by reading the other bt replies, Michael's
> patch works like a charm, so I would give this a +1 by myself based on
> testing if I wasn't reporting ;)
> 
> Maybe Michael wants to comment his own solution description, which
> sounds plausible to me but is written as if he wasn't that sure by himself.
> 
> 
> Ralf Hettinger (indeed should read Michael Stucki, I think ;) )
> 
> 
> 


-- 
Use a newsreader! Check out
http://typo3.org/community/mailing-lists/use-a-news-reader/


More information about the TYPO3-team-core mailing list