Copied to clipboard

Flag this post as spam?

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


  • Dennis Morgan 11 posts 10 karma points
    Jan 14, 2010 @ 22:26
    Dennis Morgan
    0

    macro display not consistent - random in nature

    We have been experiencing a strange problem where the content from nodes are not displayed as they should and its happening on an irregular basis.  The umbraco installation is 4.0.2.1 and has 2 sites.  One is live (www.dbbistro.ca) while the other is in beta but can be seen at beta.lumiere.ca.  Here are some screenshots to show the problem:

     

    This is how it is supposed to look with 3 event listings on the home page:  

    http://www.dbbistro.ca/dbbistro-home-correct.jpg

     

    on an irregular basis, we get the events on the home page duplicated and odd amounts displayed:

    http://www.dbbistro.ca/dbbistro-home2.jpg

     

    Or even weirder such as an icon be placed above the events:

    http://www.dbbistro.ca/dbbistro-home1.jpg

     

    Some problems also occur in the right column on the content pages of this website.  In the right column, we also have the next 3 event listings. Sometimes the listings are duplicated, sometimes only 1 shows up.

     

    Both event listings are powered by a python macro.

     

    The 2nd site that’s in beta is also starting to experience these problems (instead of 3 listings, it only displays 1 or it duplicates all 3).  Once it even pulled the first listing correctly, then the 2nd listing (circled below) was pulled from the other site’s event listings, then the 3rd was correct again.

    http://www.dbbistro.ca/lumiere-content1.jpg

     

    We are completely baffled as to what is going on so if anyone has experienced anything like this we’d like to hear from you.  The problem does appear to occur more often immediately after the client publishes an event or a page.   We have many screenshots showing different issues – the above are just a sample.

     

    Have there been any issues with python use in general? It seems like it is not as popular amongst the umbraco crowd vs xslt. Most of our custom macros are built with python with one using .net usercontrols. The only xslt macros being used are from prebuilt umbraco packages. Can macros conflict with others? Has anyone seen any conflicts between python and non-python macros?

     

    We have been building the events using the nodeFactory (supposed to be in-memory published content) referenced in the python script.

     

    Is there anything related to caching that can be adjusted to allow for these seemingly random occurances to end? Currently the event python macro "Cache Period" is set to zero but the "cache by page" is checked. We assumed this would still result in the macro output not  being cached since the time is set to zero?  If we cache the macro we wonder if the wrong output will be cached?

     

     



     

  • Dennis Morgan 11 posts 10 karma points
    Jan 14, 2010 @ 23:23
    Dennis Morgan
    0

    Sorry it looks like my post does not show up in IE. So I will comment here with the full message.

    We have been experiencing a strange problem where the content from nodes are not displayed as they should and its happening on an irregular basis. The umbraco installation is 4.0.2.1 and has 2 sites. One is live (www.dbbistro.ca) while the other is in beta but can be seen at beta.lumiere.ca. Here are some screenshots to show the problem:

    This is how it is supposed to look with 3 event listings on the home page:

    http://www.dbbistro.ca/dbbistro-home-correct.jpg

    on an irregular basis, we get the events on the home page duplicated and odd amounts displayed:

    http://www.dbbistro.ca/dbbistro-home2.jpg

    Or even weirder such as an icon be placed above the events:

    http://www.dbbistro.ca/dbbistro-home1.jpg

    Some problems also occur in the right column on the content pages of this website. In the right column, we also have the next 3 event listings. Sometimes the listings are duplicated, sometimes only 1 shows up.

    Both event listings are powered by a python macro.

    The 2nd site that’s in beta is also starting to experience these problems (instead of 3 listings, it only displays 1 or it duplicates all 3). Once it even pulled the first listing correctly, then the 2nd listing (circled below) was pulled from the other site’s event listings, then the 3rd was correct again.

    http://www.dbbistro.ca/lumiere-content1.jpg

    We are completely baffled as to what is going on so if anyone has experienced anything like this we’d like to hear from you. The problem does appear to occur more often immediately after the client publishes an event or a page. We have many screenshots showing different issues – the above are just a sample.

    Have there been any issues with python use in general? It seems like it is not as popular amongst the umbraco crowd vs xslt. Most of our custom macros are built with python with one using .net usercontrols. The only xslt macros being used are from prebuilt umbraco packages. Can macros conflict with others? Has anyone seen any conflicts between python and non-python macros?

    We have been building the events using the nodeFactory (supposed to be in-memory published content) referenced in the python script.

    Is there anything related to caching that can be adjusted to allow for these seemingly random occurances to end? Currently the event python macro "Cache Period" is set to zero but the "cache by page" is checked. We assumed this would still result in the macro output not being cached since the time is set to zero? If we cache the macro we wonder if the wrong output will be cached?

Please Sign in or register to post replies

Write your reply to:

Draft