Copied to clipboard

Flag this post as spam?

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


  • Stephen Adams 23 posts 43 karma points
    Oct 19, 2011 @ 07:36
    Stephen Adams
    0

    Linq2Umbraco - Not returning all objects of type

    Hey there,

    Umbraco version: 4.6.2

    ASP.NET version: 4.0

    Windows: 7 and 2008

    IIS: 7/7.5

    Essentially, I add items in Umbraco (document type of carousel item), and I have a .NET user control which hits our repository (which creates a Linq2Umbraco data context) to load these carousel items.

    This user control is added to one of our templates, and we've noticed that some time goes by before the new carousel items are shown. I've looked into the umbraco.config, and the carousel items are there, but stepping through the data context, the new items are not until a few minutes after being saved.

    What would cause this issue? I could understand that if the user control was cached, but stepping through the data context, it's not showing.

    Thanks all!

    -Steve

  • Jeroen Breuer 4860 posts 12121 karma points MVP 3x admin c-trib
    Oct 19, 2011 @ 09:23
    Jeroen Breuer
    0

    Could it have something to do with this topic? http://our.umbraco.org/forum/developers/api-questions/14672-don't-get-my-node-back-with-linq-after-responseredirect

    Workitem: http://umbraco.codeplex.com/workitem/29632

    Jeroen

  • Stephen Adams 23 posts 43 karma points
    Oct 19, 2011 @ 17:12
    Stephen Adams
    0

    Hi Jeroen,

    Unfortunately pressing F5 doesn't even refresh it. The items just don't show up at all. Very peculiar.

    -Steve

  • Stephen Adams 23 posts 43 karma points
    Oct 19, 2011 @ 17:32
    Stephen Adams
    0

    It looks like if I change the web.config or even refresh the app pool, the data will show up. 

Please Sign in or register to post replies

Write your reply to:

Draft