Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

We've moved the forum!

Please use forum.silverstripe.org for any new questions (announcement).
The forum archive will stick around, but will be read only.

You can also use our Slack channel or StackOverflow to ask for help.
Check out our community overview for more options to contribute.

General Questions /

General questions about getting started with SilverStripe that don't fit in any of the categories above.

Moderators: martimiz, Sean, Ed, biapar, Willr, Ingo, swaiba

CMS behavior when pressing Return in single-line CMS fields with Translatable


Go to End


1026 Views

Avatar
smares

Community Member, 25 Posts

13 February 2012 at 9:40am

I am experiencing some trouble here with SilverStripe 2.4.7 and Translatable when pressing Return in single-line CMS fields. Sometimes the current record is being saved, sometimes a new translation is being created and sometimes I get a PHP exception that requestVar() was called on a non-object in SecurityToken.php probably because of "if(!SecurityToken::inst()->checkRequest($request)) return $this->httpError(400);" in CMSMain's createtranslation(). The funny thing is that in Google Chrome for example, pressing Return does absolutely nothing while in Firefox I get the described behavior.

How does your SilverStripe behave? Also try creating a translation and then re-testing.