Duplicate as Data export

Created on 14 September 2023, 10 months ago
Updated 18 September 2023, 9 months ago

Problem/Motivation

When duplicating a display as a data export, and defining the path...the onscreen error persists "Error: Path is not defined" when it is in fact defined.

Save the view anyway, the error is no longer displayed but it is not working.

---

Location: /web/admin/structure/views/view/course_schedule/preview/data_export_2?_wrapper_format=drupal_ajax

Referrer: /web/admin/structure/views/view/course_schedule/edit/data_export_2

Message

Error: Call to a member function preExecute() on null in Drupal\views\Plugin\views\display\DisplayPluginBase->preExecute() (line 2322 of \web\core\modules\views\src\Plugin\views\display\DisplayPluginBase.php)

πŸ› Bug report
Status

Needs work

Version

1.0

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States crutch

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

Comments & Activities

  • Issue created by @crutch
  • Status changed to Needs work 9 months ago
  • πŸ‡ΊπŸ‡ΈUnited States crutch

    The issue here is that when duplicating, some settings, fields, other, etc. gets moved over that are invalid or they do not apply/work with the export.

    The solution is to build the export from scratch, then attach to a display and then all works well with filters. I think this is the same issue: https://www.drupal.org/project/views_data_export/issues/3354416 πŸ› Display "Data export" uses a path but the path is undefined. Active

    The "Duplicate as Data export" process needs work

  • πŸ‡ΊπŸ‡ΈUnited States crutch
Production build 0.69.0 2024