[TYPO3-core] RFC: fixed bug 4575: Changes in alternative page language does not clear cache

Michael Stucki michael at typo3.org
Wed May 2 16:49:00 CEST 2007


Works, +1!

- michael

Dmitry Dulepov wrote:

> Hi!
> 
> This is SVN patch request
> 
> Branches: trunk & 4.1
> 
> Problem: when page is translated (= "alternative page language" record
> is created in "pages_language_overlay"), page cache is cleared only for
> that page. It means that menus on sibling and parent pages will still
> show old page title while this page will show translated one. Users have
> to manually clear cache for pages after thay translate (easy to admin
> but hard to normal user).
> 
> Solution: "pages_language_overlay" table keeps portions of data from
> "pages" table (translated parts), so should be treated the same way as
> "pages" table. This way function TCEmain::clear_cache() takes care about
> clearing cache as necessary for pages.
> 
> Note: the patch is made over trunk, so you may need to play with line
> offsets if you want to apply it to 4.1
> 

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


More information about the TYPO3-team-core mailing list