Closed (fixed)
Project:
Embed Views Display
Version:
7.x-2.0-beta1
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
24 Feb 2012 at 16:00 UTC
Updated:
22 Jun 2012 at 04:32 UTC
After upgrading from Views 3.1 to Views 3.3, old views, that use embed pages and works before normally, stops working. And I can't edit them, Drupal shows empty page.
If I try to import view, I got the error:
Display plugin embed is not available.
Seems that something changed in views module.
Comments
Comment #1
murzRolling back to Views 3.1 helps, view with embed go to work normally.
Comment #2
mesr01 commentedSame here. Completely stopped working.
Comment #3
seddonym commentedI think I've got to the bottom of this.
The newer versions of views supply an 'embed' display. This is conflicting with the embed display defined in this module.
Unfortunately the views core embed display doesn't actually work... (See http://drupal.org/node/1471770.)
I've come up with a workaround which simply plumbs in the views core embed display to embed_views' handler. In a custom module, put the following hook:
You may also need to enable the embed display in the ui at Views > Settings > Basic, 'Show the embed display in the ui. '.
I suggest the maintainers of embed_views and views talk about how to resolve this!
Comment #4
carolalind commentedCan confirm that the workaround in #3 works like a charm! I have a lot of embedded views on my site and this really saved my day. Thanks!!!
Comment #5
murzSo, after #1471770: Embed display is missing its handler class is fixed, we can use integrated into Views embed displays, or it will miss some features, that exists in this module?
Comment #6
grndlvl commentedComment #7
grndlvl commentedHrmm, interesting I am not sure this is the first I have heard of it, I would imagine if its being implemented in views this module may become obsolete. I will have to look into it further. If so I will be implementing a fix / migration so that your current views will not break. Apologies for not seeing this sooner and I am glad you found a workaround.
Comment #8
grndlvl commentedMarked #1430780: Incompatible with Views 7.x-3.2 as dupe.
Comment #9
grndlvl commentedWaiting on a response from #1471770: Embed display is missing its handler class
Comment #10
grndlvl commentedI went ahead and committed the workaround it is currently available in 7.x-2.x.
I have a couple of things to test before I mark this as beta2.
Commit: http://drupal.org/commitlog/commit/10124/fb3a939d97903ecf8aa703256c864fd...
Comment #11
grndlvl commentedComment #12
grndlvl commentedI suppose I should also apply the fix to the 7.x-1.x branch.
Comment #13
grndlvl commentedI have ported the fix from 7.x-2.x to 7.x-1.x and created a new release 7.x-1.2.
Also the latest beta release has this fix 7.x-2.x-beta2