Display "Data export" uses a path but the path is undefined.

Created on 15 April 2023, over 1 year ago
Updated 18 September 2023, over 1 year ago

Drupal Version 9.5.7
Web Server Apache/2.4.52 (Ubuntu)
PHP Version 8.2.5
Database Version 8.0.32-0ubuntu0.22.04.2 System MySQL

On creating the Data export display for an existing view I got this error
Display "Data export" uses a path but the path is undefined.
I set the path to /csvfile
Error don't disappear, anyway I set other parameters:
Data export: Style options: Accepted request formats: CSV
Data export: Attach to: Page
Error still there
Save
Error disappears...

On the view:
Click on "CSV" orange button
Download dialog pops up
I save the file
File is only 5 bytes and it contains the word Array, nothing else

🐛 Bug report
Status

Active

Version

1.3

Component

User interface

Created by

🇨🇱Chile Andrés Chandía

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.

  • Issue created by @Andrés Chandía
  • 🇨🇱Chile Andrés Chandía

    By the way, I get the following Notice:

    Notice: Indirect modification of overloaded element of Drupal\Core\Template\Attribute has no effect in template_preprocess_views_view_table() (line 569 of /mydrupal9/core/modules/views/views.theme.inc)

    #0 /mydrupal9/core/includes/bootstrap.inc(347): _drupal_error_handler_real()
    #1 /mydrupal9/core/modules/views/views.theme.inc(569): _drupal_error_handler()
    #2 [internal function]: template_preprocess_views_view_table()
    #3 /mydrupal9/core/lib/Drupal/Core/Theme/ThemeManager.php(287): call_user_func_array()
    #4 /mydrupal9/core/lib/Drupal/Core/Render/Renderer.php(433): Drupal\Core\Theme\ThemeManager->render()
    #5 /mydrupal9/core/lib/Drupal/Core/Render/Renderer.php(446): Drupal\Core\Render\Renderer->doRender()
    #6 /mydrupal9/core/lib/Drupal/Core/Render/Renderer.php(204): Drupal\Core\Render\Renderer->doRender()
    #7 /mydrupal9/core/lib/Drupal/Core/Template/TwigExtension.php(479): Drupal\Core\Render\Renderer->render()
    #8 /mydrupal9/sites/default/files/php/twig/64393ef05f2b8_views-view.html.twig_SAFlRkDPb3jSvbt1baCsqFXCc/7E237c70LxichTCXyFbPrcIaMbocJo9Y_ASUnvnjC20.php(110): Drupal\Core\Template\TwigExtension->escapeFilter()
    #9 /mydrupal9/vendor/twig/twig/src/Template.php(405): __TwigTemplate_fb07185df5f60ba5f9f577048b802f5a->doDisplay()
    #10 /mydrupal9/vendor/twig/twig/src/Template.php(378): Twig\Template->displayWithErrorHandling()
    #11 /mydrupal9/vendor/twig/twig/src/Template.php(390): Twig\Template->display()
    #12 /mydrupal9/core/themes/engines/twig/twig.engine(55): Twig\Template->render()
    #13 /mydrupal9/core/lib/Drupal/Core/Theme/ThemeManager.php(384): twig_render_template()
    #14 /mydrupal9/core/lib/Drupal/Core/Render/Renderer.php(433): Drupal\Core\Theme\ThemeManager->render()
    #15 /mydrupal9/core/lib/Drupal/Core/Render/Renderer.php(446): Drupal\Core\Render\Renderer->doRender()
    #16 /mydrupal9/core/lib/Drupal/Core/Render/Renderer.php(204): Drupal\Core\Render\Renderer->doRender()
    #17 /mydrupal9/core/lib/Drupal/Core/Render/MainContent/HtmlRenderer.php(242): Drupal\Core\Render\Renderer->render()
    #18 /mydrupal9/core/lib/Drupal/Core/Render/Renderer.php(580): Drupal\Core\Render\MainContent\HtmlRenderer->Drupal\Core\Render\MainContent\{closure}()
    #19 /mydrupal9/core/lib/Drupal/Core/Render/MainContent/HtmlRenderer.php(235): Drupal\Core\Render\Renderer->executeInRenderContext()
    #20 /mydrupal9/core/lib/Drupal/Core/Render/MainContent/HtmlRenderer.php(132): Drupal\Core\Render\MainContent\HtmlRenderer->prepare()
    #21 /mydrupal9/core/lib/Drupal/Core/EventSubscriber/MainContentViewSubscriber.php(90): Drupal\Core\Render\MainContent\HtmlRenderer->renderResponse()
    #22 [internal function]: Drupal\Core\EventSubscriber\MainContentViewSubscriber->onViewRenderArray()
    #23 /mydrupal9/core/lib/Drupal/Component/EventDispatcher/ContainerAwareEventDispatcher.php(142): call_user_func()
    #24 /mydrupal9/vendor/symfony/http-kernel/HttpKernel.php(174): Drupal\Component\EventDispatcher\ContainerAwareEventDispatcher->dispatch()
    #25 /mydrupal9/vendor/symfony/http-kernel/HttpKernel.php(81): Symfony\Component\HttpKernel\HttpKernel->handleRaw()
    #26 /mydrupal9/core/lib/Drupal/Core/StackMiddleware/Session.php(58): Symfony\Component\HttpKernel\HttpKernel->handle()
    #27 /mydrupal9/core/lib/Drupal/Core/StackMiddleware/KernelPreHandle.php(48): Drupal\Core\StackMiddleware\Session->handle()
    #28 /mydrupal9/core/modules/page_cache/src/StackMiddleware/PageCache.php(106): Drupal\Core\StackMiddleware\KernelPreHandle->handle()
    #29 /mydrupal9/core/modules/page_cache/src/StackMiddleware/PageCache.php(85): Drupal\page_cache\StackMiddleware\PageCache->pass()
    #30 /mydrupal9/core/lib/Drupal/Core/StackMiddleware/ReverseProxyMiddleware.php(48): Drupal\page_cache\StackMiddleware\PageCache->handle()
    #31 /mydrupal9/core/lib/Drupal/Core/StackMiddleware/NegotiationMiddleware.php(51): Drupal\Core\StackMiddleware\ReverseProxyMiddleware->handle()
    #32 /mydrupal9/vendor/stack/builder/src/Stack/StackedHttpKernel.php(23): Drupal\Core\StackMiddleware\NegotiationMiddleware->handle()
    #33 /mydrupal9/core/lib/Drupal/Core/DrupalKernel.php(718): Stack\StackedHttpKernel->handle()
    #34 /mydrupal9/index.php(19): Drupal\Core\DrupalKernel->handle()
    #35 {main}

  • 🇮🇳India Suryakumar1626

    Suryakumar made their first commit to this issue’s fork.

  • 🇺🇸United States crutch

    This may be the same as: https://www.drupal.org/project/views_data_export/issues/3387370#comment-... 🐛 Duplicate as Data export Needs work

Production build 0.71.5 2024