Ticket #2618 (closed defect: fixed)

Opened 2 months ago

Last modified 2 months ago

massive error on the admin section in the cms

Reported by: dospuntocero Assigned to: aoneil
Type: defect Priority: critical
Milestone: 2.2.3 Component: CMS - General
Version: 2.2.2 Severity: medium effort / impact
Keywords: Cc:
Due date: Harvest Task: (Unknown)
Invoice sent to client: 0 Hours:

Description

if a user press enter in a field to save a Page in the cms form instead of using the save button silverstripe totally breaks. error as follows:

FATAL ERROR: No action button has been clicked in this form executon, and no default has been allowed At line 213 in /Applications/MAMP/htdocs/patagonicas/sapphire/core/control/Controller.php

user_error(No action button has been clicked in this form executon, and no default has been allowed,256) line 213 of Controller.php

Controller->run(Array) line 104 of Director.php

Director::direct(admin/) line 158 of main.php

Attachments

Change History

Changed 2 months ago by ischommer

  • status changed from new to closed
  • resolution set to fixed

originally reported in http://silverstripe.com/site-builders-forum/reply/108388

fixed in r57395

enter key now triggers a "save" action (not "save and publish").

tested in CMSAdmin, AssetAdmin? and SecurityAdmin?. form submission on enter key was only occurring in certain form fields (single line input fields?), and its inconsistent between browsers.

* firefox now submits when e.g. filling out inline search * internet explorer 6 and 7 ignore the enter key alltogether

Note: See TracTickets for help on using tickets.