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><p>How to enable or disable the Sprint Cloud Optimizer toolbar in Internet Explorer.</p>
</Summary>
<Title-Override><p>Enable Toolbar / Disable Toolbar</p>
</Title-Override>
<Details><p>To enable or disable the Sprint Cloud Optimizer toolbar in Internet Explorer (IE):</p>
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
Comment #1
johnvIs this of help? #1456278: Preview does not reflect theme overrides