Details
Assignee
Igal SapirIgal SapirReporter
Damian WrightDamian WrightPriority
NewLabels
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
Affects versions
Details
Details
Assignee
Igal Sapir
Igal SapirReporter
Damian Wright
Damian WrightPriority
Labels
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
Affects versions
Created 26 June 2018 at 09:55
Updated 24 July 2018 at 21:25
Looping the messages struct results in exception, serializing and deserializing workaround allows looping the struct. see code and exception.
New Struct<br/>
<cfset MessageNew =DeserializeJSON(SerializeJSON(message.cids))>
<cfoutput>#SerializeJSON(MessageNew)#<br/></cfoutput>
<cfloop collection="#MessageNew#" Item="CurrItem">
<cfoutput>#CurrItem##MessageNew[CurrItem]#<br/></cfoutput>
</cfloop>
CFPOP Message struct<br/>
<cfoutput>#SerializeJSON(message.cids)#<br/></cfoutput>
<cfloop collection="#Message.cids#" Item="CurrItem">
<cfoutput>#CurrItem##Message.cids[CurrItem]#</cfoutput> /* results in key not found */
</cfloop>