I am attempting to use the Views Data Export module to export node content in XML format for importing with feeds into multiple sites. Initially this approach was working fine - but at a point - all of the XML Data Exports from Views started to be shown with many missing tags.

Format: XML file
Settings:
Provide as file - Off
Parent sore - Off
Transform spaces On / Dash

When in the view shows, the preview shows correct XML

<?xml version="1.0" encoding="UTF-8" ?>
<nodes>
  <node>
    <Summary>&lt;p&gt;How to enable or disable the Sprint Cloud Optimizer toolbar in Internet Explorer.&lt;/p&gt;
</Summary>
    <Title-Override>&lt;p&gt;Enable Toolbar / Disable Toolbar&lt;/p&gt;
</Title-Override>
    <Details>&lt;p&gt;To enable or disable the Sprint Cloud Optimizer toolbar in Internet Explorer (IE):&lt;/p&gt;

But when I navigate using the view Path - I get very different results.

<p>How to enable or disable the Sprint Cloud Optimizer toolbar in Internet Explorer.</p>

As you can see - the //nodes, /node and other field tags are missing. But the content of the fields is showing correctly.

When I noticed this issue - all of my XML Data Export Views changed - not just one of them. All XML Views show correct data in the preview - but incorrect data when browsing to the view path.

I have also noticed that if I change the XML Data Export settings - and set "Provide as file" - The file does contain correct XML for the nodes. So XML Data Export into files works as expected and matches the view preview - but the browsing to the view path - shows incorrect XML.

I am seeing the following in my logs

php
DATE Tuesday, October 29, 2013 - 10:00
USER admin
LOCATION https://testsupport.mobolize.com/admin/structure/views/view/help_article...
REFERRER https://testsupport.mobolize.com/admin/structure/views/view/help_article...
MESSAGE Notice: Undefined index: options in views_plugin_display->get_plugin() (line 874 of /var/www/devportal/webroot/sites/all/modules/views/plugins/views_plugin_display.inc).
SEVERITY notice
HOSTNAME 10.242.189.236

As a work around - I am exporting to a file, but I would like to export to the displayed page if possible.

Comments

johnv’s picture