+1-888-365-2779
Try Now
More in this section

Forums / Project Feather / BUG: Other MVC widgets do not show up when in details mode of the Dynamic widget

BUG: Other MVC widgets do not show up when in details mode of the Dynamic widget

7 posts, 1 answered
  1. Behrooz
    Behrooz avatar
    9 posts
    Registered:
    28 Jul 2015
    19 Jun
    Link to this post

    Very frustrating: this bug still exists on Sitefinity 9.1 and feather 1.6.5

    I just discovered that this is bug in feather after hours of scratching my head to figure out what to do. On following page there is one line of explanation which promises this bug has been rectified in version 1.6.5 of feather:

    "Other MVC widgets do not show up when in details mode of the Dynamic widget"

    https://github.com/Sitefinity/feather/releases/tag/v.1.6.500.0

    At first I felt happy and tried to update my feather but it turns out that this version needs Sitefinity 9.1 while I had version 8.2. So, I took the risk and spent hours to upgrade my project. At the end, to my surprise the bug still exist and its very solid and persistent ! Could it be because of using an upgraded project? I mean this fix only works on clean install?

    I am frustrated and tired. Can anyone suggest a quick/dirty fix to this problem at least? my project is pending on this issue.

  2. Victor Leontyev
    Victor Leontyev avatar
    65 posts
    Registered:
    01 Jul 2014
    20 Jun in reply to Behrooz
    Link to this post
    I checked in one of my project and everything fine with that. But, i am using MVC layouts. Are you using hybrid layouts?
  3. Behrooz
    Behrooz avatar
    9 posts
    Registered:
    28 Jul 2015
    23 Jun in reply to Victor Leontyev
    Link to this post

    I am also using Pure MVC layouts/widget.

    Is this problem because I have upgraded from version 8.2 ?

     

  4. Victor Leontyev
    Victor Leontyev avatar
    65 posts
    Registered:
    01 Jul 2014
    23 Jun in reply to Behrooz
    Link to this post
    It shouldn't be. Can you check inside bin folder,that you are using Telerik.Sitefinity.Frontend.dll version 1.6.5
  5. Behrooz
    Behrooz avatar
    9 posts
    Registered:
    28 Jul 2015
    23 Jun
    Link to this post

    Already checked. its correct version.

    Actually there are two groups of MVC widgets in my projects. Those MVC views which are customizing a module default widget (based on DynamicContentListViewModel or ContentDetailsViewModel) are being display with no problem.

    But those which I built using Thunder from scratch (creating Model/View/Controller under MVC folder) to pull some data and display got this issue.

  6. Velizar Bishurov
    Velizar Bishurov avatar
    143 posts
    Registered:
    01 Dec 2016
    23 Jun
    Link to this post
    Hi,

    The problem with your custom MVC widgets (created with Thunder or from scratch) is that they do not recognize the details action (or any other action that they do not implement explicitly).

    To solve the issue override the HandleUnknownAction in the controllers like so:

    protected override void HandleUnknownAction(string actionName)
    {
        this.Index().ExecuteResult(this.ControllerContext);
    }

    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
     
    Answered
  7. Behrooz
    Behrooz avatar
    9 posts
    Registered:
    28 Jul 2015
    23 Jun in reply to Velizar Bishurov
    Link to this post

    That's write. With this explanation it makes sense. I tried and it worked. 

    Thank you, I was scratching my head for few days.

    Velizar, I also found this blog post:

    http://www.sitefinity.com/blogs/stanislav-velikovs-blog/2012/12/15/how-to-display-mvc-widget-in-detail-views-of-content-items

    Is this an alternative approach? Is there a documentation for UrlKeyPrefix in feather or any documentation on what you just exaplained? This is kind of important, I believe.

     

7 posts, 1 answered