Serialize and deserialize JSON in CF has gone through many patches since it was 
introduced.  I remember the worst one was that integers were being saved as 
strings when it was first released and took a VERY long time before they 
released a patch for it (made it pretty useless in many scenarios... ugg).

Even in CF10 I think there was at least one bug fix for it.  It may or not be 
related to your problem, but maybe compare CF versions.  What version of CF 
were you using (including patch level)?  Also, maybe take a look at the JSON 
string yourself line-by-line and see where the discrepancy is.

Jeff

On Mar 31, 2014, at 11:50 PM, Justin Carter <[email protected]> wrote:

> Didn't realise my last email to Mark was accidentally a private reply, here 
> it is for the record:
> 
> From: Justin Carter
> Sent: Tuesday, 1 April 2014 2:31 PM
>  
> With a blank TinyMCE config and the "Enable Config" box checked it's working 
> OK for me. I also pasted the config from the richtext.cfc into the box and 
> it's working there as well.
>  
> Are you getting a problem saving the config, or opening it? It looks like an 
> issue deserializing, which is odd because you'd expect CF's own deserialize 
> method should be able to read something that it serialized in the first 
> place...
>  
> Try resetting the config by checking TinyMCE Configuration and clicking the 
> Delete / Reset button.
>  
> Also, could you post your config to the list so that I can test it?
>  
> Here's the one I'm using from core that works:
>  
> plugins : 
> "farcrycontenttemplates,layer,table,hr,image_farcry,link_farcry,insertdatetime,media,searchreplace,contextmenu,paste,directionality,fullscreen,noneditable,visualchars,nonbreaking,anchor,charmap,code,textcolor",
> extended_valid_elements: 
> "code,colgroup,col,thead,tfoot,tbody,abbr,blockquote,cite,button,textarea[name|class|cols|rows],script[type],img[style|class|src|border=0|alt|title|hspace|vspace|width|height|align|onmouseover|onmouseout|name]",
> menubar : false,
> toolbar : "undo redo | cut copy paste pastetext | styleselect | bold italic 
> underline | bullist numlist link image table farcryuploadcontent 
> farcrycontenttemplates | code | fullscreen",
> remove_linebreaks : false,
> forced_root_block : 'p',
> relative_urls : false,
> entity_encoding : 'raw'
>  
>  
> cheers,
> Justin

-- 
You received this message cos you are subscribed to "farcry-dev" Google group.
To post, email: [email protected]
To unsubscribe, email: [email protected]
For more options: http://groups.google.com/group/farcry-dev
--------------------------------
Follow us on Twitter: http://twitter.com/farcry
--- 
You received this message because you are subscribed to the Google Groups 
"farcry-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to