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).

Comments

samuel.mortenson’s picture

Status: Active » Needs review
StatusFileSize
new499 bytes
samuel.mortenson’s picture

Issue summary: View changes
damienmckenna’s picture

I'm not seeing this problem with the current -dev release (and the latest CTools, Panels, etc)?

damienmckenna’s picture

Status: Needs review » Postponed (maintainer needs more info)
saltednut’s picture

I am not seeing this in FPP v 1.7

¯\_(ツ)_/¯

samuel.mortenson’s picture

Status: Postponed (maintainer needs more info) » Closed (cannot reproduce)

Let's make some space in the issue queue and close this out then. Thanks all.