Re: Re: FarCry 7 bugs

Jeff Coughlin <[email protected]> Mon, 31 Mar 2014 23:58:28 -0400
Newsgroups gmane.comp.cms.farcry.devel
Message-ID <[email protected]>
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 sav=
ed as strings when it was first released and took a VERY long time before t=
hey released a patch for it (made it pretty useless in many scenarios... ug=
g).

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]> wro=
te:

> Didn't realise my last email to Mark was accidentally a private reply, he=
re it is for the record:
>=20
> From: Justin Carter
> Sent: Tuesday, 1 April 2014 2:31 PM
> =20
> With a blank TinyMCE config and the "Enable Config" box checked it's work=
ing OK for me. I also pasted the config from the richtext.cfc into the box =
and it's working there as well.
> =20
> 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 deseria=
lize method should be able to read something that it serialized in the firs=
t place...
> =20
> Try resetting the config by checking TinyMCE Configuration and clicking t=
he Delete / Reset button.
> =20
> Also, could you post your config to the list so that I can test it?
> =20
> Here's the one I'm using from core that works:
> =20
> plugins : "farcrycontenttemplates,layer,table,hr,image_farcry,link_farcry=
,insertdatetime,media,searchreplace,contextmenu,paste,directionality,fullsc=
reen,noneditable,visualchars,nonbreaking,anchor,charmap,code,textcolor",
> extended_valid_elements: "code,colgroup,col,thead,tfoot,tbody,abbr,blockq=
uote,cite,button,textarea[name|class|cols|rows],script[type],img[style|clas=
s|src|border=3D0|alt|title|hspace|vspace|width|height|align|onmouseover|onm=
ouseout|name]",
> menubar : false,
> toolbar : "undo redo | cut copy paste pastetext | styleselect | bold ital=
ic underline | bullist numlist link image table farcryuploadcontent farcryc=
ontenttemplates | code | fullscreen",
> remove_linebreaks : false,
> forced_root_block : 'p',
> relative_urls : false,
> entity_encoding : 'raw'
> =20
> =20
> cheers,
> Justin

--=20
You received this message cos you are subscribed to "farcry-dev" Google gro=
up.
To post, email: farcry-dev-/[email protected]
To unsubscribe, email: farcry-dev+unsubscribe-/[email protected]
For more options: http://groups.google.com/group/farcry-dev
--------------------------------
Follow us on Twitter: http://twitter.com/farcry
---=20
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 e=
mail to farcry-dev+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/[email protected]
For more options, visit https://groups.google.com/d/optout.