More in this section

Forums / Developing with Sitefinity / NewsView Control odd behavior

NewsView Control odd behavior

11 posts, 0 answered
  1. Mike
    Mike avatar
    10 posts
    Registered:
    02 Oct 2008
    08 Oct 2008
    Link to this post
    Hi,

    I've create five sibling pages (representing category views of my news items).  Each page has a NewsView control.  For each NewsView control, I've set it to display only news items for the given category.  However, when I use this paradigm, and publish a given page, its sibling pages no longer exist. (requesting the page results in a 404).

    Is this is known bug in Sitefinity?  Is there a workaround?
  2. Georgi
    Georgi avatar
    3583 posts
    Registered:
    28 Oct 2016
    10 Oct 2008
    Link to this post
    Hi Developer,

    This is strange behaviour indeed. We have tried to reproduce it, but didn't succeed to. Could you tell us which version you are using? When you click on the items title, do you get redirected to another page, or you still stay on the same page?

    Thank you for your cooperation in advance.

    Best wishes,
    Georgi
    the Telerik team

    Check out Telerik Trainer, the state of the art learning tool for Telerik products.
  3. Mike
    Mike avatar
    10 posts
    Registered:
    02 Oct 2008
    10 Oct 2008
    Link to this post
    Version 3.2.1616.2

    Clicking on news items works great (goes to the news item page).  The problem I'm having is that I can only have one news category page at a time.
  4. Mike
    Mike avatar
    10 posts
    Registered:
    02 Oct 2008
    13 Oct 2008
    Link to this post
    Any thoughts on resolving this issue?
  5. Georgi
    Georgi avatar
    3583 posts
    Registered:
    28 Oct 2016
    20 Oct 2008
    Link to this post
    Hi Mike,

    Please take our apologizes for the late response.
    I'm not quite sure what you mean by "I can only have one news category page at a time". Do you want to list several several categories in one NewsView control?

    Best wishes,
    Georgi
    the Telerik team

    Check out Telerik Trainer, the state of the art learning tool for Telerik products.
  6. Mike
    Mike avatar
    10 posts
    Registered:
    02 Oct 2008
    23 Oct 2008
    Link to this post
    No, one news category per NewsView control.

    In other words, I would have multiple NewsView controls, each on different pages.
  7. Georgi
    Georgi avatar
    3583 posts
    Registered:
    28 Oct 2016
    29 Oct 2008
    Link to this post
    Hi Mike,

    We are still not able to reproduce the 404 error. There is no problem to have one news category per one NewsView control.

    In order to continue with investigation on this issue, we would need exact steps of actions we may follow to replicate the error. We will also need an overview of your page structure, so we could set up the same environment. Since we really want to sort out this issue for you, could you help us with providing the requested details?

    Regards,
    Georgi
    the Telerik team

    Check out Telerik Trainer, the state of the art learning tool for Telerik products.
  8. Mike
    Mike avatar
    10 posts
    Registered:
    02 Oct 2008
    29 Oct 2008
    Link to this post
    Thanks for your response Georgi.

    I'm being bold in my assumption that this is an undocumented bug in Sitefinity 3.2.  I am developing another web application using Sitefinity 3.5 and do not see the same odd behavior, even with the same configuration settings.

    So, with that said, I'm trying to upgrade this Sitefinity 3.2 site to Sitefinity 3.5.  I've replaced all new files and merged my changes into those that I had modified.

    However, when loading up the site, I'm prompted to enter in database information and configure the site as if it were a new sitefinity site.

    Is this correct behavior after applying a patch?
  9. Georgi
    Georgi avatar
    3583 posts
    Registered:
    28 Oct 2016
    29 Oct 2008
    Link to this post
    Hi Mike,

    This is normal if the following entry is presented in your web.config file:
    <cms defaultProvider="Sitefinity" pageExtension=".aspx" projectName="3five" 
      disabled="True" pageEditorUIMode="Overlay"

    If the highlighted property is True, the startup wizard will be launched and all you have to do is to set your database connection again. Nothing else in your project will change. You can also set this property to false.

    To answer your question - yes it is normal behavior if you pasted this line from the new web.config file, and everything will be fine the wizard finishes its work.

    Best wishes,
    Georgi
    the Telerik team

    Check out Telerik Trainer, the state of the art learning tool for Telerik products.
  10. Mike
    Mike avatar
    10 posts
    Registered:
    02 Oct 2008
    29 Oct 2008
    Link to this post
    Thank you.

    For you information, upgrading to sitefinity 3.5 fixed our issue.  So my assumption about this bug existing in 3.2 might have some validity.

  11. Georgi
    Georgi avatar
    3583 posts
    Registered:
    28 Oct 2016
    29 Oct 2008
    Link to this post
    Hello Mike,

    I'm glad to read it.
    It might be an issue with the page caching. We have improved many things in the page cache mechanism in version 3.5. There was an issue in 3.2 when the page was marked as cached but it wasn't. When such page is accessed the response would be 404, but this is fixed as I already stated.

    Sincerely yours,
    Georgi
    the Telerik team

    Check out Telerik Trainer, the state of the art learning tool for Telerik products.
Register for webinar
11 posts, 0 answered