Closed (fixed)
Project:
Drupal core
Version:
5.x-dev
Component:
node system
Priority:
Critical
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
20 Dec 2006 at 02:19 UTC
Updated:
3 Jan 2007 at 06:30 UTC
This is a sub-part of the larger patch proposed and already reviewed here: http://drupal.org/node/88633
If you submit a new node type with the same name as an existing type you get this very unfortunate error:
Fatal error: Cannot break/continue 1 level in /Users/Shared/www/drupal/modules/node/content_types.inc on line 246
attached patch removes the offending "break" command.
| Comment | File | Size | Author |
|---|---|---|---|
| node_type_form_validate_1.diff | 638 bytes | pwolanin |
Comments
Comment #1
pwolanin commentedthis is for 5.x
Comment #2
Steven commentedCommitted to HEAD.
Comment #3
(not verified) commented