I'm not sure if everyone is seeing this, but every time I've used this module clicking "Save and add fields" at /admin/structure/fieldable-panels-panes/add has always redirected to /fields instead of /admin/structure/fieldable-panels-panes/[bundle]/fields.
It looks like in fieldable_panels_pane::edit_save_form() attempts to clear caches are made, but the newly added bundle still isn't recognized and so only the tail of the path is returned by fieldable_panels_pane::field_admin_path(). When debugging I don't see the bundle returned by field_info_bundles('fieldable_panels_panes') either.
My quick-fix has been to call drupal_static_reset() before clearing entity_info and menu caches, and I'll attach that patch, but the maintainers may want a more targeted cache clear (although this seems harmless as the bootstrap is almost over at the point fieldable_panels_pane::edit_save_form() is called).
| Comment | File | Size | Author |
|---|---|---|---|
| #1 | fieldable_panels_panes-save-continue-redirect-2477421-1.patch | 499 bytes | samuel.mortenson |
Comments
Comment #1
samuel.mortensonComment #2
samuel.mortensonComment #3
damienmckennaI'm not seeing this problem with the current -dev release (and the latest CTools, Panels, etc)?
Comment #4
damienmckennaComment #5
saltednutI am not seeing this in FPP v 1.7
¯\_(ツ)_/¯
Comment #6
samuel.mortensonLet's make some space in the issue queue and close this out then. Thanks all.