Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Tony Lorentzen 85 posts 174 karma points
    Oct 08, 2010 @ 14:22
    Tony Lorentzen
    0

    Content being cached

    I have a range of properties set up for a particular document type. Let's name them:

    PropertyOne

    PropertyTwo

    PropertyThree

    PropertyFour

    I can read the value of the first two, but the rest won't work.

    When I output the XML for $currentPage I can see that the data is actually there?!

    I have tried touching the web.config - disabled the XML caching (in umbraco.config), deleted umbraco.config - but nothing helps.

    Sigh! I'm getting tons of problems with Umbraco these days.

  • Matt Brailsford 4125 posts 22223 karma points MVP 9x c-trib
    Oct 08, 2010 @ 14:31
    Matt Brailsford
    0

    Hi Tony,

    How are you accessing the properties? via .NET or XSLT?

    Have you tried "Repblish entire site" from the context menu of the root "Content" node?

    Matt

  • Tony Lorentzen 85 posts 174 karma points
    Oct 08, 2010 @ 14:43
    Tony Lorentzen
    0

    Hi Matt,

    The content is being generated from XSLT and yes - I have tried republishing the entire site. Very weird issue, this is!

  • Matt Brailsford 4125 posts 22223 karma points MVP 9x c-trib
    Oct 08, 2010 @ 14:47
    Matt Brailsford
    0

    Hi Tony,

    Can you post some example XSLT you are using to access the properties? Off the top of my head, my first suggestion would be to check the casing of the alias' as these are case sensitive.

    Cheers

    Matt

  • Tony Lorentzen 85 posts 174 karma points
    Oct 08, 2010 @ 14:53
    Tony Lorentzen
    0

    Argh! Just realized there was a stupid, stupid, STUPID typo in the template I use to render the content with - meaning it would take the properties from the page below the one I was testing on. DOH! Thanks for your quick response, Matt. It's incredible how sometimes you can't see the problem when staring at it.

  • Matt Brailsford 4125 posts 22223 karma points MVP 9x c-trib
    Oct 08, 2010 @ 14:57
    Matt Brailsford
    0

    Hehe, been there, done that (just last week actually).

    Glad you're back up and running.

    Matt

Please Sign in or register to post replies

Write your reply to:

Draft