Hello!
I upgraded the views module from // $Id: views.module,v 1.142 2006/08/04 16:00:46 merlinofchaos Exp $ to 4.7.x-1.6-beta3.
I also installed the og module and created a custom view, nothing complicated, just a view to show the group with the most number of hits.
Initially the view display for the new view created was very bizzare, some of the fields were missing, under author of node I got anonymous. Then I cleared the view cache and the view behaved as it should.
If I make any changes to the view, I get some more weird behaviour like duplicate records, but if I clear the view cache, it works as expected.
I never had to do this 'cache clearing' after each update to a view with the old views module. The old views did not even have an option to clear the cache.
I mean, nothing is broken. The view works well after clearing the cache, but I have to manually clear the cache each time I update the og view.
Is this expected behavior or did I screw up something during the view update?
Comments
Comment #1
merlinofchaos commentedIf I make any changes to the view, I get some more weird behaviour like duplicate records, but if I clear the view cache, it works as expected.
Hm. No, this is definitely not expected. There is something wrong if this is happening. I will need more precise info about what the weird behavior is in order to debug this, though.
Comment #2
drupalzack commentedTo debug this further I created a sample view with this that'll list all published groups. The fields are
Group name, Group author and created time
When I run the view I get
Author name and created time but no group name!
Now I cleared the view cache, in this particular case even that didn't help. So I added group desc. to the field list. No change in output.
Now I cleared cached, I still don't get the group name, but now I get the group description. This is the view after clearing the cache.
Comment #3
yoroy commentedClosing, this version of views is not supported anymore.