Tridion New UI Preview Site is not reflecting with the changes unless pulished

Posted by Ram G on Stack Overflow See other posts from Stack Overflow or by Ram G
Published on 2012-06-29T14:47:40Z Indexed on 2012/06/29 15:16 UTC
Read the original article Hit count: 397

Filed under:

I have new UI setup and noticing that when ever I update a page it is not refreshing with the updated changes. I do not see either the page_{sessionId/GUID}.aspx created either.

Checked the session preview DB and I see the changes in PAGE_CONTENT table with new rendered content, so seems like session preview is working fine but the Preview site is not able to get the changes and refresh the UI.

I have checked all the preview handlers and mappings for .aspx and made sure they are correct in web.config. Any thoughts on why the preview site not showing up the changes?

I have the session preview DB setup in cd_storage_conf.xml.

<StorageBindings>
  <Bundle src="preview_dao_bundle.xml"/>
</StorageBindings>
<Wrappers>
  <Wrapper Name="SessionWrapper">
    <Timeout>120000</Timeout>
    <Storage Type="persistence" Id="db-session-webservice" dialect="MSSQL"
             Class="com.tridion.storage.persistence.JPADAOFactory">
      <Pool Type="jdbc" Size="5" MonitorInterval="60" 
            IdleTimeout="120" CheckoutTimeout="120" />
      <DataSource Class="com.microsoft.sqlserver.jdbc.SQLServerDataSource">
        <Property Name="serverName" Value="localhost" />
        <Property Name="portNumber" Value="1433" />
        <Property Name="databaseName" Value="Tridion_Broker_SessionPreview" />
        <Property Name="user" Value="usr" />
        <Property Name="password" Value="pwd" />
      </DataSource>
    </Storage>
  </Wrapper>
</Wrappers>

web.config (handlers):

<add verb="GET" path="*.htm" type="Tridion.ContentDelivery.Preview.Web.StaticFileHandler" />
<add verb="GET" path="*.jpg" type="Tridion.ContentDelivery.Preview.Web.StaticFileHandler" />
<add verb="GET" path="*.png" type="Tridion.ContentDelivery.Preview.Web.StaticFileHandler" />
<add verb="GET" path="*.aspx" type="Tridion.ContentDelivery.Preview.Web.StaticFileHandler" />
<add verb="GET" path="*.html" type="Tridion.ContentDelivery.Preview.Web.StaticFileHandler" />
<add name="Tridion.ContentDelivery.Preview.Web.PreviewContentModule" type="Tridion.ContentDelivery.Preview.Web.PreviewContentModule" />

Log (timestamp and DEBUG prefix removed):

ClaimStore - put: uri=taf:session:id, value=tridion_db59279b-7d37-4b2e-ad98-eaaa6af7038e
ClaimStore - put: uri=taf:session:id, value=tridion_db59279b-7d37-4b2e-ad98-eaaa6af7038e
ClaimStore - put: uri=taf:tracking:id, value=tridion_d1fa1017-a28d-4f48-a790-b74f78c69314
ClaimStore - put: uri=taf:tracking:id, value=tridion_d1fa1017-a28d-4f48-a790-b74f78c69314
SearchClaimProcessor - No match found for referrer string http://uidemo.practice.com/en/Product/musk.aspx
SearchClaimProcessor - No match found for referrer string http://uidemo.practice.com/en/Product/musk.aspx
ClaimStore - put: uri=taf:claim:ambientdata:footprintcartridge:devicetype, value=Desktop
ClaimStore - put: uri=taf:claim:ambientdata:footprintcartridge:devicetype, value=Desktop
ClaimStore - put: uri=taf:claim:ambientdata:footprintcartridge:mobiledevice, value=NotMobile
ClaimStore - put: uri=taf:claim:ambientdata:footprintcartridge:acceptlanguage, value=en-US
ClaimStore - put: uri=taf:claim:ambientdata:footprintcartridge:mobiledevice, value=NotMobile
ClaimStore - put: uri=taf:claim:ambientdata:footprintcartridge:acceptlanguage, value=en-US
PageHandler - The session wrappers are correctly installed.

Any thoughts/pointers on what might be going wrong...? (sorry for the long post)

© Stack Overflow or respective owner

Related posts about tridion