Export not exporting variants

Created on 14 February 2014, over 11 years ago
Updated 16 May 2025, 23 days ago

Hi, I've created a test Drupal install with just the basics (drush qd PanelsTest panels pm_existing_pages admin_menu module_filter).

In it I've created a very simple variant attached to Node Overview. When I select the page via Bulk Exporter, I get the Node Overview "page" portion but not the variant I just added:

function asdf_pm_existing_pages_info() {
  $pm_existing_pages = array();

  $pm_existing_page = new stdClass();
  $pm_existing_page->api_version = 1;
  $pm_existing_page->name = 'node_overview';
  $pm_existing_page->label = 'Nodes';
  $pm_existing_page->context = 'entity|node|nid';
  $pm_existing_page->paths = 'node/%';
  $pm_existing_pages['node_overview'] = $pm_existing_page;

  return $pm_existing_pages;
}

jenlampton says she's able to export the whole page (or maybe I'm reading into that) with Bulk Export here: https://drupal.org/node/2168401

This module (https://drupal.org/project/panels_import) says it can import existing pages that this module creates.

However, I can't get it to export variants with Bulk Export or with the Export contextual menu here at admin/structure/pages/existing-pages.

I suppose I could export the header and the variants separately and merge them in my text file but this seems like a bug.

Is it?

Cheers,
Andrรฉ

๐Ÿ› Bug report
Status

Closed: outdated

Version

1.4

Component

Code

Created by

๐Ÿ‡บ๐Ÿ‡ธUnited States aangel

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024