Internal Build Sitefinity 8.0.5719.0 -BUG - Bugs & Issues - Bugs & Issues - Progress Community
 Bugs & Issues

Internal Build Sitefinity 8.0.5719.0 -BUG

  • Internal Build Sitefinity 8.0.5719.0 -BUG
  • Hi,
    After i upgraded internal build Sitefnity 8.0.5719 from our sitefinity 8.5710.
    I am trying to add an Image thumbnail to News List template it doesn't work.?
    Below is the code.: It work fine in 8.5710 but 8.0.5719 is not working
     <asp:Repeater ID="Repeater1" runat="server" DataSource='<%# Eval("thumb") %>'>
                            <ItemTemplate>                           
                                <li style="float:right">
                                     <%--<span data-sfref="[images|OpenAccessDataProvider|tmb:thumbnail]f5771457-4176-62d0-bdfa-ff0000352c60" >--%>
                                    <div class="img-blk1">
                                     <img src='<%# Eval("ThumbnailUrl")%>' alt='<%# Eval("AlternativeText")%>' title='<%# Eval("Title") %>' />  
                                    </div>                               
                                </li>                              
                            </ItemTemplate>
                        </asp:Repeater>
    Any idea please suggest us. 
    thanks
    mansoor
  • Hi Mansoor,

    The problem is not caused by a bug, it is issue related to the lifecycle status of the related images. Republishing the Master version of the images solves the issue.
     
    protected void Page_Load(object sender, EventArgs e)
        LibrariesManager librariesManager = LibrariesManager.GetManager();
        librariesManager.GetImages().Where(i => i.Status == ContentLifecycleStatus.Master).ToList().ForEach(i =>
        
            librariesManager.Lifecycle.Publish(i);
            librariesManager.SaveChanges();
        );

    You can find a code sample above. Put it on the code behind of a Web Form and run it once.

    Regards,
    Velizar Bishurov
    Telerik
     
    Do you want to have your say in the Sitefinity development roadmap? Do you want to know when a feature you requested is added or when a bug fixed? Explore the Telerik Sitefinity CMS Ideas&Feedback Portal and vote to affect the priority of the items