I am using the backlinks example view, unaltered from the Views2 install. The tab "what links here" is showing and everything appears to work, except that there are never any backlinks shown, in spite of the fact that there are links to the page.

The strange thing is that this used to work, but I have undone/backtracked all of my changes (which seemed very unrelated anyway) and it still shows no links.

I have cleared the cache and done every other type of resetting/undoing I could think of. I've played a bit with a clone of the module set to a different tab menu and different path and couldn't figure anything significant out. It seems like the linkto: search itself might be broken?

Started with 6-2.2 and moved to -dev helping that work make a difference. It didn't.

Totally baffled. Sorry, I know I'm not giving many clues. But how to start troubleshooting?

Comments

whyameye’s picture

Status: Active » Fixed

Ok the backlinks showed up after the Drupal cron job ran. I am assuming at this point that there is some housekeeping that happens with each cron job that refreshes the "linksto:" field in the db. If that is incorrect, please correct me. Assuming that *is* correct, I don't love that because it was confusing to me and is another hitch in my attempt to emulate in Drupal what a real wiki would do. But I suppose it is expected behavior even though I don't see any documentation/explanation of this. And I think it is relatively minor when accompanied by an explanation.

I sound negative but Views is a fantastic module. Really unbelievable how it is transforming my website. So thanks for that!

-John

merlinofchaos’s picture

The backlinks functionality uses the search.module data, which is only updated on cron. Views is merely making the data accessible. I can understand your frustration, because Views is where you're using the data but Views isn't really the one that should be documenting that. Still, there should maybe be some pointers somewhere to make it easier to understand what is going on.

One thing that I've never done -- because it is a very large task -- is to really document all of the core Drupal data that Views can use. THere's a LOT of it and documenting it nicely is difficult, though would be very useful.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for two weeks with no activity.