Identified in #576290-260: Breadcrumbs don't work for dynamic paths & local tasks.
When creating a field, after having gone to .../[bundle]/fields/[field-name]/field-settings you are sent to .../[bundle]/fields/[field-name]/edit
The 'edit' menu path (or router item or whatever, I never got that...), though, is the MENU_DEFAULT_LOCAL_TASK so it really makes no sense to be sent there. Instead you should be sent to .../[bundle]/fields/[field-name]. Once you have created the field and you click on edit, you correctly get sent to .../[bundle]/fields/[field-name].
Patch attached.
| Comment | File | Size | Author |
|---|---|---|---|
| field_ui_path_inconsistency.patch | 907 bytes | tstoeckler |
Comments
Comment #1
klonosthanx!
Comment #2
yched commentedNo, this is the intended behavior.
When creating a field, you are taken to the 'field settings' form (..fields/[field-name]/field-settings), then to the 'instance settings' form (.../fields/[field-name]/edit)
Comment #3
tstoecklerWhich this patch doesn't change. :)
If you try it out, you'll see that
.../fields/[field-name]
and
.../fields/[field-name]/edit
are the same page. Which makes sense, because the latter is declared as
MENU_DEFAULT_LOCAL_TASK.Comment #4
yched commentedAh, I get it now. Sure, why not.
Comment #5
sunfield_ui_path_inconsistency.patch queued for re-testing.
Comment #6
sunYes, this is good to go. We never link to default local tasks in Drupal (core).
Comment #7
dries commentedCommitted to CVS HEAD. Thanks.