Gossamer Forum
Home : Products : Gossamer Links : Discussions :

Reviews not showing on build_changed

Quote Reply
Reviews not showing on build_changed
I have done test on this issue. I assume the Link timestamp updates when a review is validated. The problem is thus the timestamp is not changing.

Link Timestamp:

Before:
20090320003635

After new review validated:
20090320003635

Doing a build all add the review just fine.

Also when deleting a review - again no timestamp change.


What could be the problem?

~ ERASER


Free JavaScripts @ Insight Eye

Last edited by:

Eraser: Mar 20, 2009, 8:48 AM
Quote Reply
Re: [Eraser] Reviews not showing on build_changed In reply to
Sounds like it may be a bug - try emaling suppot @ gossamer-threads.com, and see what they suggest (may already be a bug fix, not sure)

Cheers

Andy (mod)
andy@ultranerds.co.uk
Want to give me something back for my help? Please see my Amazon Wish List
GLinks ULTRA Package | GLinks ULTRA Package PRO
Links SQL Plugins | Website Design and SEO | UltraNerds | ULTRAGLobals Plugin | Pre-Made Template Sets | FREE GLinks Plugins!
Quote Reply
Re: [Andy] Reviews not showing on build_changed In reply to
Thanks.

I also added a review via the admin making sure ALL fields are filled out in case this was the problem, but still no Timestmp changes.

I see the review Timestmp code is in Review.pm, so I'm investigating from there.

Any help GT?

~ ERASER


Free JavaScripts @ Insight Eye
Quote Reply
Re: [Eraser] Reviews not showing on build_changed In reply to
The subclass on the Reviews table should handle updating the Timestmp column, so Links/Table/Reviews.pm is the place to check for that.

Oh, and course to check that your Reviews def file actually has the subclassing set up. Make sure it has:
Code:
'subclass' => {
'table' => {
'glinks_Reviews' => 'Links::Table::Reviews'
}
},

Adrian

Last edited by:

brewt: Mar 21, 2009, 3:47 AM
Quote Reply
Re: [brewt] Reviews not showing on build_changed In reply to
 
Adrian,

I have nether the file: Links/Table/Reviews.pm

nor that code in admin/defs/Reviews.def

Im using the latest version with all the updates.

I have /admin/Links/User/Review.pm

The closest code in the def is:

'subclass' => {
'html' => {},
'table' => {}
},

~ ERASER


Free JavaScripts @ Insight Eye

Last edited by:

Eraser: Mar 21, 2009, 4:19 AM
Quote Reply
Re: [Eraser] Reviews not showing on build_changed In reply to
No luck Frown

After working all day on this, I still have no idea why this is happening.

This is what I have found:

Adding a review is all OK. The data enters in the database correctly.
The new review is shown when in dynamic mode OK.

The Timestmp of the Link is NOT changed to reflect the new review.
Adding a review in the admin is also NOT changing the link Timestmp.

Changing the link contents DOES update the Timestmp.

Changing the link review does NOT update the Timestmp.

So, its all down to the add review mechanism not updating the Link Timestmp.

Now what?

~ ERASER


Free JavaScripts @ Insight Eye
Quote Reply
Re: [Eraser] Reviews not showing on build_changed In reply to
Found it!

I uploaded an older version of /admin/Links/Tools.pm and is works fine!

The version uploaded: Tools.pm,v 1.186

Origional version: v 1.197

Dont know what causes this in tools, but that works now.

Edit:

Except deleted reviews are not updating the timestamp.

~ ERASER


Free JavaScripts @ Insight Eye

Last edited by:

Eraser: Mar 21, 2009, 1:03 PM
Quote Reply
Re: [Eraser] Reviews not showing on build_changed In reply to
Change the table part of that snippet to what I pasted and it should work.

Adrian
Quote Reply
Re: [brewt] Reviews not showing on build_changed In reply to
 
"Unable to load subclass: 'Links::Table::Reviews': Can't locate Links/Table/Reviews.pm in @INC "

As I said, no Reviews.pm in Links/Table/

Im sticking with Tools.pm,v 1.186 for the time being as this seems to work.

~ ERASER


Free JavaScripts @ Insight Eye