Fixed
Details
Assignee
Pothys - MitrahSoftPothys - MitrahSoftReporter
Leon Miller-OutLeon Miller-OutPriority
NewLabels
Fix versions
New Issue warning screen
Before you create a new Issue, please post to the mailing list first https://dev.lucee.org
Once the issue has been verified, one of the Lucee team will ask you to file an issue
Sprint
NoneAffects versions
Details
Details
Assignee
Pothys - MitrahSoft
Pothys - MitrahSoftReporter
Leon Miller-Out
Leon Miller-OutPriority
Labels
Fix versions
New Issue warning screen
Before you create a new Issue, please post to the mailing list first https://dev.lucee.org
Once the issue has been verified, one of the Lucee team will ask you to file an issue
Sprint
None
Affects versions
Created 29 May 2018 at 20:19
Updated 12 May 2020 at 05:20
Resolved 17 July 2018 at 06:43
The `type` attribute of `entry` > `content` is repeated twice if it is specified.
Example showing problem on trycf.com:
https://trycf.com/scratch-pad/gist/dbaf3ad41477010914ebcf0c9234b415
<cfscript> theFeed = { version='atom_1.0', entry: [ { content: { type: 'text/plain', value: 'Some text' } } ] } feed action='create' name=theFeed xmlVar='feedXML'; WriteDump(feedXML); </cfscript>
Results in the following invalid XML:
<?xml version="1.0" encoding="UTF-8"?> <feed xmlns="http://www.w3.org/2005/Atom"> <entry> <id></id> <updated></updated> <published></published> <content type="text/plain" type="text/plain">Some text</content> <rights></rights> </entry> </feed>