Dashboard shows comments that are no longer there

This is the place to discuss bugs that have been found in the most recent version of PivotX. Posting bugs will ensure that the Development Team is aware of them and that they will be addressed when resources are available.

Dashboard shows comments that are no longer there

Postby Khevor » Fri Aug 29, 2008 2:30 am

I'm using Beta 11 (with mySql).

I've only had this happen once so far so I'm not sure if it's just a fluke or if it's an actual bug, however, I received a spam comment and subsequently deleted it. However the dashboard still shows a comment (1c) for that entry. The spam comment was the only comment that entry had.
Khevor
 
Posts: 26
Joined: Sun Aug 03, 2008 2:37 am
Location: Ontario, Canada

Re: Dashboard shows comments that are no longer there

Postby Bob » Mon Sep 01, 2008 2:28 pm

Hi, this is added to the bug tracker.. I've seen it happen before, so i know what you mean.

http://tracker.pivotx.net/view.php?id=400
Bob
Lead Developer
 
Posts: 1374
Joined: Tue Nov 20, 2007 11:16 pm

Re: Dashboard shows comments that are no longer there

Postby dwaas » Wed Sep 03, 2008 2:39 pm

Hi,

I have this problem al the time. I've seen it since beta 1.6

It's not only in the dashboard, but also in the entry it says that there are comments waiting for moderation, after the comment has ben deleted.

regards
User avatar
dwaas
Contributor
 
Posts: 93
Joined: Mon May 19, 2008 9:11 am
Location: Maastricht, The Netherlands

Re: Dashboard shows comments that are no longer there

Postby hansfn » Wed Sep 03, 2008 4:29 pm

Just for the record: Zombie comments from earlier versions aren't interesting - they are caused by bugs that are fixed. However, zombie comments appearing after installing beta 1.10/11 is worth looking at - there are probably more bugs related to this. And as always, it's extremely important that you include info about which database type you are using.
hansfn
Developer
 
Posts: 3281
Joined: Sun Nov 25, 2007 7:48 pm
Location: Molde, Norway

Re: Dashboard shows comments that are no longer there

Postby dwaas » Wed Sep 03, 2008 5:41 pm

Okay,

I use Mysql and the "zombie" comments do still apear (in my case) after installing beta 1.10

regards
User avatar
dwaas
Contributor
 
Posts: 93
Joined: Mon May 19, 2008 9:11 am
Location: Maastricht, The Netherlands

Re: Dashboard shows comments that are no longer there

Postby hansfn » Wed Sep 03, 2008 6:24 pm

Sorry to ask again, but I wasn't clear enough above. These are new zombie comments? I guess so, but I have to ask.

PS! Old zombie comments must be deleted manually by editing the files in an editor.
hansfn
Developer
 
Posts: 3281
Joined: Sun Nov 25, 2007 7:48 pm
Location: Molde, Norway

Re: Dashboard shows comments that are no longer there

Postby Khevor » Wed Sep 03, 2008 11:37 pm

The one I deleted was new, yes. It isn't a throwback from previous versions of Pivot.
Khevor
 
Posts: 26
Joined: Sun Aug 03, 2008 2:37 am
Location: Ontario, Canada

Re: Dashboard shows comments that are no longer there

Postby dwaas » Thu Sep 04, 2008 11:01 am

yes these are new zombie-comments after the installation of beta 1.10
User avatar
dwaas
Contributor
 
Posts: 93
Joined: Mon May 19, 2008 9:11 am
Location: Maastricht, The Netherlands

Re: Dashboard shows comments that are no longer there

Postby hansfn » Thu Sep 04, 2008 10:07 pm

Thx for the report. According to my testing, my newly submitted patch/revision 1427 fixes the issue. Either apply the patch by following the "text changed" link or get the latest version/snapshot of PivotX.

PS! Entries with wrong comment count needs to be updated manually using SQL:
UPDATE pivot_entries SET comment_count = comment_count -1 WHERE uid = <ENTRY ID>;
hansfn
Developer
 
Posts: 3281
Joined: Sun Nov 25, 2007 7:48 pm
Location: Molde, Norway


Return to 2.x Bugs

Who is online

Users browsing this forum: No registered users and 1 guest

cron