In this case, I have tried to clone the display Upcoming in the view calendar_event

After pressing the clone button, I get the message: Display Upcoming clone successful. But the display is not cloned.

Comments

john.karahalis’s picture

Priority: Major » Critical

I can confirm this. I'm going to mark this bug as critical...

HAg’s picture

The clones appeared today. Seems to work fine now. Maybe it have something to do with the browser cache or Drupals cache. I'm am currently not working in a production website so i have the theme registry is being rebuilt on every page.

MBroberg’s picture

I am having the same issue. I cleared caches, nothing has appeared yet. Using on a production website.

_vid’s picture

I'm having the problem too (also on a production site) but just had some success.

I installed the module. Loaded a view and cloned a display.
I got the 'success' message but there was no cloned view.
I cleared my browser cache and Drupal cache and tried again.
Still didn't work.

I looked at the database and indeed several new views_display items were created, but they weren't showing up.

So then I added a new attachment display and saved.
I checked the database again.
The cloned items disappeared but the new attachment was there. This makes sense, the cloned items weren't present in my browser when I saved so they we're deleted.

So then I cloned an existing block display and it worked.
Cloned it again and that worked too...

I'll keep testing as I get time and we'll see if there's a trend emerging. But for now it's working and I like that!

HAg’s picture

It works for me now, but only if the display is saved. If I alters a display, and try to clone it without saving it's not cloned.

MBroberg’s picture

I can confirm it works, when I save the view first, then return to the view, then clone a saved display.
But when I click "clone display" the view closes immediately and returns me to the referrer page. When I go back to the view, the display is cloned.

admataz’s picture

For anyone else stuck on this - I have found that the clone display won't work for me if the view is defined in code ("default" storage"). It needs to be "normal" or "overridden" storage and if it's "default" storage you need to override it first (clicking save in the view does this). Still a bug I think.

fastangel’s picture

Assigned: HAg » fastangel
Priority: Critical » Major

Hi,

Thanks for the comments. I join the comments to find a solution.

Regards.

fastangel’s picture

Status: Active » Closed (fixed)

This module no longer works with the latest versions of views. Any new request should be a views