Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
I use views accordion to produce a FAQ page pulling together faqs of type x. My faq view fetches all faq types with term x. All was working. Now I have updated to views 6.x-2.7 the FAQs are all blank. I have the title label but not titles and no bodies. If I change the display to say table then I see the titles and bodies so this would seem to be a change in views, or a bug in views (but I haven't reported it as such yet so I'm not accuse of cross posting).
Comment | File | Size | Author |
---|---|---|---|
#3 | views_accordion-621568.patch | 1.85 KB | Manuel Garcia |
Comments
Comment #1
jwilde CreditAttribution: jwilde commentedSame problem here.
Comment #2
malc_b CreditAttribution: malc_b commentedI posted on the views about reversing the update as I was stuoopid enough to updpate and not backup (it was late and this wasn't a live site, but it did stop work on the site so almost as bad).
The views people reckon just replacing the views files should be enough to go back. Looking at the update that should only have run 6007, Add aggregate function to PostgreSQ. I'm using mysql so that won't have run past the if pgsql. I've replaced 2.7 views directory with the deleted 2.6 and now views accordion works again. This is a definite bug then.
Comment #3
Manuel Garcia CreditAttribution: Manuel Garcia commentedThanks for reporting guys.
Latest views release included some changes to the render() inside views_plugin_style, that we needed to update in views_accordion since we are using our own render function to setup and load our js and settings.
I have commited the fix for this, but since this is critical, please find attached a patch (made against the latest dev version).
I will make another RC release shortly to avoid problems on new installs.
Comment #4
Manuel Garcia CreditAttribution: Manuel Garcia commentedComment #5
Manuel Garcia CreditAttribution: Manuel Garcia commentedI have now created a new release, please upgrade to RC2
Comment #6
jwilde CreditAttribution: jwilde commentedThank you Manuel for fixing this so quickly. I greatly appreciate your time hard work. It works perfectly.
Kind regards,
Jim
Comment #7
CKIDOWAfter updating views to 6.27
Accordion also already updated
I've got problem using block views and field design.
Many fields are not exactly rendered. It seems that there are some missing closing HTML elements.
Maybe there are more render bugs...
Comment #8
Manuel Garcia CreditAttribution: Manuel Garcia commented@CKIDOW
Can you please open up a new issue for this. Include as much info about the view options as needed to replicate your problem (screenshots help), if you are using custom tpl files etc.