Hi all,

I think I located the problem.
In the sitemap for repositoryBasedNavigation we have matcher which collect children of the repository based folder:

           <map:match pattern="include-base/**">
               <map:generate src="childfind.xml" type="hippojx">
<map:parameter name="target" value="webdav://{repository:host}:{repository:port}{repository:rootPath}{repository:filesPath}"/>
                   <map:parameter name="path" value="/{1}"/>
                   <map:parameter name="depth" value="4"/>
               </map:generate>
               <map:transform type="webdav"/>
               <map:transform src="exclude-from-result.xsl">
<map:parameter name="exclude-displayname" value=""/> <!--index.xml-->
                   <map:parameter name="base" value="true"/>
</map:transform> <map:serialize type="xml"/>
           </map:match>

It seems that the problem is in the "target" parameter because sometimes dasl collect children from the wrong repository (on the www site I get unpublished files/folders) When I replace {repository:filesPath} with, for example, hardcoded www path, it works fine.

Do you have any idea why this happens?

Thanks in advance.

Kind Regards
Petar

Jeroen Reijn wrote:
I guess this is a problem with the website cache? What component generates the 
left menu? It might be a cache key issue.
Regards. Jeroen

________________________________

Van: [EMAIL PROTECTED] namens Petar Becic
Verzonden: vr 10/17/2008 5:19
Aan: [email protected]
Onderwerp: [HippoCMS-dev] repository caching problem



Hi all,

We have a strange problem with repository caching.
In the file "screenshot.jpg", you can see repository content of the
folder "producten" (preview and live repositories).
Sometimes, left menu in the site is wrong (on the preview site, in the
left menu are shown folders from the www repository - see screenshots).
When I clear repository cache, everything works fine, but after some
time, issue appears again.

Do you have any idea what could be the problem.

Thanks in advance.

--
Met vriendelijke groet / Kind regards,
Petar Becic
Senior Software Developer
Levi9 Global Sourcing
===============================================================
Adress:    Jan van Goyenkade 8, 1075 HP Amsterdam
Tel.:      (+31) (0) 20 6701 947
Mobile:    (+381) (0) 62 415 171
Email:     [EMAIL PROTECTED]
SkypeID:   p.becic
Internet:  www.levi9.com

Chamber of commerce Levi9 Global Sourcing BV: 34221951
Chamber of commerce Levi9 Global Sourcing Benelux BV: 34224746
===============================================================
This e-mail may contain confidential or privileged information. If you are not 
(one of) the intended recipient(s), please notify the sender immediately by 
reply e-mail and delete this message and any attachments permanently without 
retaining a copy. Any review, disclosure, copying, distribution or taking any 
action in reliance on the contents of this e-mail by persons or entities other 
than the intended recipient(s) is strictly prohibited and may be unlawful.

The services of Levi9 are exclusively subject to its general terms and 
conditions. These general terms and conditions can be found on www.levi9.com 
and a copy will be promptly submitted to you on your request and free of charge.



********************************************
Hippocms-dev: Hippo CMS development public mailinglist

Searchable archives can be found at:
MarkMail: http://hippocms-dev.markmail.org
Nabble: http://www.nabble.com/Hippo-CMS-f26633.html



--
Met vriendelijke groet / Kind regards,
Petar Becic
Senior Software Developer
Levi9 Global Sourcing
===============================================================
Adress:    Jan van Goyenkade 8, 1075 HP Amsterdam
Tel.:      (+31) (0) 20 6701 947
Mobile:    (+381) (0) 62 415 171
Email:     [EMAIL PROTECTED]
SkypeID:   p.becic
Internet:  www.levi9.com

Chamber of commerce Levi9 Global Sourcing BV: 34221951
Chamber of commerce Levi9 Global Sourcing Benelux BV: 34224746
===============================================================
This e-mail may contain confidential or privileged information. If you are not 
(one of) the intended recipient(s), please notify the sender immediately by 
reply e-mail and delete this message and any attachments permanently without 
retaining a copy. Any review, disclosure, copying, distribution or taking any 
action in reliance on the contents of this e-mail by persons or entities other 
than the intended recipient(s) is strictly prohibited and may be unlawful.

The services of Levi9 are exclusively subject to its general terms and 
conditions. These general terms and conditions can be found on www.levi9.com 
and a copy will be promptly submitted to you on your request and free of charge.

********************************************
Hippocms-dev: Hippo CMS development public mailinglist

Searchable archives can be found at:
MarkMail: http://hippocms-dev.markmail.org
Nabble: http://www.nabble.com/Hippo-CMS-f26633.html

Reply via email to