Unable to save a route
Reported by Jelle Henkens | September 7th, 2011 @ 03:43 PM
After i try and edit a route i'm getting the following error:
Warning (2): preg_match() [function.preg-match]: Delimiter must not be alphanumeric or backslash [CORE/cake/libs/model/model.php, line 2612]
Debugger::handleError() - CORE/cake/libs/debugger.php, line 306 preg_match - [internal], line ?? Model::invalidFields() - CORE/cake/libs/model/model.php, line 2612 Model::validates() - CORE/cake/libs/model/model.php, line 2479 Model::_save() - CORE/cake/libs/model/model.php, line 1775 Model::saveAll() - CORE/cake/libs/model/model.php, line 1673 GlobalActions::admin_edit() - APP/app_controller.php, line 1129 RoutesController::admin_edit() - APP/core/routes/controllers/routes_controller.php, line 62 Dispatcher::invoke() - CORE/cake/dispatcher.php, line 204 Dispatcher::dispatch() - CORE/cake/dispatcher.php, line 171 [main] - APP/webroot/index.php, line 83
And the validation message "Please enter valid json for the values or leave blank" shows if i leave the values and/or Rules empty.
Comments and changes to this ticket
-
dogmatic69 July 6th, 2013 @ 02:03 AM
- State changed from invalid to resolved
Please Sign in or create a free account to add a new ticket.
With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.
Create your profile
Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป
Please use this for the current version of Infinitas only, if you are using a older version of the Infinitas report bugs in that project.
Please submit bugs only as pending, and if its a feature request submit the ticket with the milestone "Feature Requests".