1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Fixed "View Previous Comments" Shows Duplicates

Discussion in 'Resolved Bug Reports' started by Jacob Blommestein, Nov 4, 2010.

  1. Jacob Blommestein

    Jacob Blommestein New Member

    Hi all, just a quick bug I noticed.

    On a user's page, if you click View Previous Comments to load the hidden ones, it will show the the entire set of comments, followed by the ones that were already there, causing duplicates.

    Sorry to single out a member but to reproduce it, check out forsaken's profile, and click view more comments on his post from Sep 5.

  2. Shadab

    Shadab Well-Known Member

    Beta 2:
    xhr request sent as ./profile-posts/1/comments&before=1288941189

    Beta 3:
    xhr request sent as ./profile-posts/2045/comments?null

    In ./js/xenforo/comments_simple.js (lines 16-30), the loadParams variable seems to be an object already; so running it through $.parseJSON returns null.
  3. Trombones13

    Trombones13 Well-Known Member

    Still seeing this (in Chrome if it matters); see here:

    XF Previous Comments.png
  4. Mike

    Mike XenForo Developer Staff Member

    Fixed now. This was an incompatible change from jQuery that caught us.
    Trombones13 likes this.

Share This Page