Portal Engine
Version 2.x > Portal Engine > Strange caching issue View modes: 
User avatar
Member
Member
persun - 2/1/2007 1:48:36 PM
   
Strange caching issue
First of all, great job with 2.1! The performance and UI improvements are very nice!

However, I've still managed to run into some trouble...

It seems like some of my imported objects, transformations and page layouts in particular, are cached even though caching is turned off. And changes that I make to these object do not show until I kill the IIS working process (at least not the first time I edit an object from 2.0b). Very odd.

Any ideas?

Thanks,

Per

User avatar
Member
Member
persun - 2/6/2007 2:35:43 PM
   
Re: Strange caching issue
Server Error in '/' Application.
DataBinding: 'System.Data.DataRowView' does not contain a property with the name 'FlashVideoTitle'.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.Web.HttpException: DataBinding: 'System.Data.DataRowView' does not contain a property with the name 'FlashVideoTitle'.

Source Error:

Line 3: <div class="FlashVideoPreview">
Line 4: <%# IfEmpty(Eval("FlashVideoThumbnail"), "no image", "<img src=\"" + GetFileUrl("FlashVideoThumbnail") + "?maxsidesize=150\" />") %>
Line 5: <h3><a href="<%# GetDocumentUrl() %>"><%# Eval("FlashVideoDisplayName") %></a></h3>
Line 6: <p><%# Eval("FlashVideoDescription") %></p>
Line 7: </div>

User avatar
Member
Member
persun - 2/6/2007 2:39:09 PM
   
Re: Strange caching issue
This happened after having changed the name of the document type field "FlashVideoTitle" to "FlashVideoDisplayName" in Kentico 2.1

I can't see why the system thinks I am trying to access FlashVideoTitle in my transformation... can you?

User avatar
Guest
admin - 2/6/2007 6:01:18 PM
   
Re: Strange caching issue
Unfortunately, we cannot reproduce this. Could you please send your export package to support@kentico.com ?

Thank you.

Best Regards,

User avatar
Member
Member
persun - 2/9/2007 9:45:16 AM
   
Re: Strange caching issue
I can't send you my export package in this case since it contains potentially sensitive information belonging to our client. However, it is quite clear that transformations and layouts get cached even though caching is disabled. To get around the problems described above I have to manually clear the cache. The problems are random though, so most of the time changes I make in my transformations come into effect right away.

Here's a typical listing of my cache:

CMSLayouts|malagstwocolumnpage
CMSVirtualWebParts|cms.simple
CMSLayouts|malagsmasterpagelayout
CMSLayouts|
CMSTransformations|cms.product.previewwithshortdescription
CMSTransformations|custom.marketsegment.preview
CMSTransformations|custom.flashvideo.preview
CMSTransformations|custom.link.default
CMSTransformations|cms.root.relateddocuments
CMSTransformations|cms.job.preview

The cache should be empty if caching is disabled, right?

Thanks

/ Per

User avatar
Member
Member
matt - 2/14/2007 8:45:57 PM
   
Re: Strange caching issue
We have been experiencing similar "caching" problems. I only call it a cache problem because I that describes it best. Seems that some changes take longer than others to appear.

This is the same site as the one I had sent previously (excluding some content entry).

This has mainly been a problem when making changes to templates. We've worked around it by opening the template properties layout tab, selecting the Use custom layout option, saving, re-opening the properties and selecting the use shared layout option. This seems to force a re-application of the selected layout to that document.

We have seen this with some transformations as well but there is no consistent delay when updating a transformation. Templates seem to refresh every 10 minutes or so. Even though caching is set to zero. The cache values are inherited from the global settings.