Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeDNN Open Source...DNN Open Source...Module ForumsModule ForumsForumForumLinks to last page of a discussion thread send you to the wrong pageLinks to last page of a discussion thread send you to the wrong page
Previous
 
Next
New Post
11/11/2008 3:51 PM
 

Hi All,

It seems there is an issue with the links to the last page of a discussion thread, on the list of threads for any given forum.  To replicate this, try setting your posts per page preference to something low, like 5.  Then look for a posting that has more pages than will be listed all together.  Like this:

    Anonymous posting (Page: 1, 2, 3, 4, 5, ..., 11)

See how there is a gap between 5 and 11?

Now, if you click on the link to page 11, you will actually get sent to page 6.  You can see that it's building the link wrong--mouse over the link to page 11, and you'll see the link is actually to "threadpage/6".

So, what's up?  How do I fix this?

  -Josh

 
New Post
11/12/2008 2:30 PM
 

 To fix this bug, I had to grab the forums source, find and correct the error, and recompile the DotNetNuke.Modules.Forums.dll assembly.

Here's the bugfix.  Open Threads.vb and change line 1017 from this:

url = Utils.ContainerViewThreadPagedLink(TabID, ForumId, thread.ThreadID, threadPage)

To this:

url = Utils.ContainerViewThreadPagedLink(TabID, ForumId, thread.ThreadID, pageCount)

The difference is that the last parameter needs to be pageCount, not threadPage.

How can I report this bug so that it gets fixed in the next release of the forums module?  I'd don't want to get a regression when I upgrade to the next version of the forums module?

  -Josh

 
New Post
11/12/2008 2:31 PM
 

 That's Components\UI\Threads.vb in the DotNetNuke.Forum project

 
New Post
11/12/2008 2:46 PM
 

 By the way, I'd like to submit a bug report but when I go here:

http://support.dotnetnuke.com/Issues.aspx?m=1&PROJID=7

I don't see the "Create Issue" link, as described in the Gemini manual.  This is true whether or not I am logged in.

I did a search for issues related to "page number" and "page numbers" and didn't find any bugs describing the issue I'm experiencing.

  -Josh

 
New Post
11/12/2008 2:55 PM
Accepted Answer 

Ah, I see now, I can't create an issue in the Forums module project, I have to create it in the generic "Core Framework and Modules" project.

http://support.dotnetnuke.com/issue/ViewIssue.aspx?id=8743

  -Josh

 
Previous
 
Next
HomeHomeDNN Open Source...DNN Open Source...Module ForumsModule ForumsForumForumLinks to last page of a discussion thread send you to the wrong pageLinks to last page of a discussion thread send you to the wrong page


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out