Closed (fixed)
Project:
Views data export
Version:
6.x-2.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
9 Mar 2011 at 21:43 UTC
Updated:
3 Jan 2014 at 02:58 UTC
Jump to comment: Most recent
Comments
Comment #1
dyesdyes commentedUp
Comment #2
steven jones commentedWhat is the field name for the field that results in an empty XML tag?
Comment #3
BenK commentedI'm experiencing this same issue in the latest 7.x-3.x-dev release. I only have one field in my view... the standard "Content: Title" field (node title). Any ideas as to what could be causing the problem?
Thanks,
Ben
Comment #4
BenK commentedIt seems that the problem may result from not having a label specified on the "Content: Title" field.
Unfortunately, it appears that the label is unchecked by default in Views for the "Content: Title" field. So you have to remember to add it.
-Ben
Comment #5
steven jones commentedAh lovely, maybe we should provide some sensible fallback for an empty tag, as there's no good reason to have one.
Comment #6
steven jones commentedComment #7
rond49 commentedApparently, you get this error also if the label of a field is a string in a different alphabet, e.g., Hebrew characters. They get eliminated when the XML (in my case) is generated, resulting in an empty tag.
Comment #8
steven jones commentedAh, we were trying to fix this, but were failing, pushed a fix to 7.x-3.x.
Comment #9
steven jones commentedWe should add some tests for this.
Comment #10
steven jones commentedActually turns out that we didn't correctly sanitise the tag names, and allowed empty tags. Added a test to support this.
Comment #11
steven jones commentedWe should backport this fix to 6.x-2.x.
Comment #12
steven jones commentedSweet, pushed to 6.x-2.x here and here. Thanks!