Link not set in list of Topics by Forum

Jul 4, 2011 at 7:56 PM

  • <li class="">
    	<a href="">RESEARCHING JAMESTOWN LOUNGE</a>
    	<span class="details">38 replies / 15076 views</span>	</li>

    List of Topics by Forum does not generate a link. TopicShortName field does not contain null or empty strings.

    I cannot determine why. Please help.

    Coordinator
    Jul 4, 2011 at 9:39 PM

    Hi,

    This is probably caused because the routes are missconfigured. The Html.ActionLink helper returns empty string if asp.net routing can not resolve the route, check the Routes.config file (Url and constraints).

    Hope it helps, if not, please provide more info

    Kind Regards,

    Jorge

     

    Jul 5, 2011 at 12:08 AM

    I thought about that. It does not happen uniformly. I imported messages and users from another system. All messages that I created on the board work. I cannot find where there is a difference in the records I imported and the ones that were entered online. I thought about the routes, but have not changed anything. I will look again.

    Coordinator
    Jul 5, 2011 at 8:10 AM

    Hi,

    Try removing the constraints on the route, leaving the eleme<constrains /> empty.

    Regards,

    Jorge

    Jul 8, 2011 at 1:52 AM

    Hello,

    It was not as complicated as that. After reading your first post, I ran an sql procedure to change the content of the TopicShortName to something distinctive. Worked like a charm. If you're routing it has to be unique.

    Thank you for pointing me in the right direction. Love the Message Board.