[opencms-dev] Cache-problem with detailpages

Marc Johnen opencms at johnen.biz
Mon Feb 4 20:59:47 CET 2013


Hello everyone,

I have two sites with seperate templates installed on my test-system.
One site works just fine, the other site can't create correct links when
using
CmsListContentMapping (from the v8-templates). I can nail this down to

link = OpenCms.getLinkManager().substituteLinkForUnknownTarget(cms, sPath);
which leads to a call of
CmsADEManager.getDetailPage in which there is a call
cache.getParentFolderType(pageRootPath)
that returns null e.g. for
pageRootPath=/sites/testsite111/.content/news/n_00010111.html

This is because m_folderTypes in CmsConfigurationCache contains invalid
values (see end of post).
It contains keys from a site I already deleted (/sites/default/) and the
values for /sites/testsite111/
are v8news,v8event and so on, but should be o8news and o8event, that's how I
named the types
for these templates.

So I'm wondering how is this happening and how do I get this cache to be
renewed?
I've been facing this problem a couple of times. It does not happen, when I
install the
content and template to a fresh installation.

Any hints very much appreciated.
Greetings
Marc


/sites/default/.content/config/=t3config
/sites/default/.content/listconfig/=v8listconfig
/.content/function/=function
/sites/testsite111/.content/inheritance_group/=inheritance_group
/sites/default/.content/v8-webformreport/=alkacon-v8-webformreport
/sites/testsite111/.content/mainslider/=jv8mainslider
/sites/johnen/.content/news/=v8news
/.content/listconfig/=v8listconfig
/sites/testsite111/.content/elementgroup/=groupcontainer
/sites/testsite111/.content/v8-webform/=alkacon-v8-webform
/sites/johnen/.content/v8-webformreport/=alkacon-v8-webformreport
/sites/johnen/.content/config/=t3config
/.content/inheritance_group/=inheritance_group
/sites/johnen/.content/textblock/=v8textblock
/sites/default/.content/flower/=v8flower
/sites/default/.content/list/=v8list
/sites/default/.content/flexiblecontent/=v8flexible
/sites/default/.content/v8-webform/=alkacon-v8-webform
/sites/default/.content/event/=v8event
/sites/default/.content/textblock/=v8textblock
/sites/testsite111/.content/flower/=v8flower
/sites/default/.content/project/=jv8project
/sites/johnen/.content/elementgroup/=groupcontainer
/sites/johnen/de/blog/.content/article/=jv8article
/sites/default/.content/inheritance_group/=inheritance_group
/sites/testsite111/.content/v8-comments/=alkacon-v8-comment-display
/sites/default/.content/news/=v8news
/sites/testsite111/.content/news/=v8news
/.content/infobox/=v8infobox
/sites/default/.content/function/=function
/sites/testsite111/.content/project/=jv8project
/sites/default/.content/v8-comments/=alkacon-v8-comment-display
/.content/list/=v8list
/sites/testsite111/.content/config/=t3config
/sites/johnen/.content/flower/=v8flower
/sites/johnen/.content/listconfig/=v8listconfig
/sites/johnen/.content/mainslider/=jv8mainslider
/.content/flower/=v8flower
/sites/testsite111/.content/infobox/=v8infobox
/sites/johnen/.content/list/=v8list
/sites/default/.content/article/=jv8article
/sites/testsite111/.content/flexiblecontent/=v8flexible
/sites/default/.content/ddarticle/=ddarticle
/sites/default/.content/elementgroup/=groupcontainer
/sites/testsite111/.content/list/=v8list
/sites/testsite111/.content/event/=v8event
/sites/johnen/.content/function/=function
/sites/johnen/.content/infobox/=v8infobox
/sites/testsite111/.content/v8-webformreport/=alkacon-v8-webformreport
/sites/johnen/.content/ddarticle/=ddarticle
/.content/twitter/=v8twitter
/.content/event/=v8event
/.content/news/=v8news
/sites/johnen/.content/twitter/=v8twitter
/sites/johnen/.content/v8-comments/=alkacon-v8-comment-display
/sites/johnen/.content/article/=jv8article
/.content/flexiblecontent/=v8flexible
/.content/v8-webformreport/=alkacon-v8-webformreport
/sites/testsite111/.content/article/=jv8article
/.content/article/=jv8article
/sites/testsite111/.content/listconfig/=v8listconfig
/.content/v8-webform/=alkacon-v8-webform
/sites/default/.content/infobox/=v8infobox
/.content/v8-comments/=alkacon-v8-comment-display
/sites/testsite111/.content/ddarticle/=ddarticle
/sites/testsite111/.content/twitter/=v8twitter
/.content/textblock/=v8textblock
/sites/default/.content/mainslider/=jv8mainslider
/sites/johnen/.content/event/=v8event
/sites/default/.content/twitter/=v8twitter
/sites/johnen/.content/v8-webform/=alkacon-v8-webform
/.content/elementgroup/=groupcontainer
/sites/johnen/en/blog/.content/article/=jv8article
/sites/johnen/.content/inheritance_group/=inheritance_group
/.content/project/=jv8project
/sites/testsite111/.content/function/=function
/sites/johnen/.content/project/=jv8project
/sites/johnen/.content/flexiblecontent/=v8flexible
/.content/config/=t3config
/sites/testsite111/.content/textblock/=v8textblock
/.content/mainslider/=jv8mainslider}






-----
Greetings
Marc Johnen
http://www.johnen.biz
--
View this message in context: http://opencms.996256.n3.nabble.com/Cache-problem-with-detailpages-tp22956.html
Sent from the OpenCMS mailing list archive at Nabble.com.



More information about the opencms-dev mailing list