HI,
Is anyone else experiencing this weird problem with using backspace in a channel:entries tag?
I am using channel:entries to output a JSON list. I use backspace=”1” to get rid of a comma at the end of the list. This is something that did work prior to an update to 3.4.2.
Very simplified code:
{exp:channel:entries channel="my_channel" backspace="1"}
"localFilename" : "{fileField}{file_name}{/fileField}",
{/exp:channel:entries}
What happens is that the backspace character correctly removes the last comma, but it ALSO removes the last character in the {file_name} field! Even if we just hardcode some text within the file field tag, that last character in that string is removed.
It is like the backspace attribute is applied to the file tag.
Best, Sammi
Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.