When setting "Krumo backtrace in the message area" as the error reporter, some issues start appearing with ctools modal forms on page manager pages with contexts. Here's how to reproduce the specific issue I'm having:

  • Enable devel, page_manager
  • Set error reporting to "Krumo backtrace in the message area" on admin/config/development/devel
  • Create a page with page_manager and add a context. The User context (logged user) is one I am using to duplicate the issue, but any context should do.
  • Click the wheel to edit the context that was just created. Submit the form with no changes. This is where the errors get generated
  • Refresh to cause errors to display

It looks like the errors are coming from form.inc as a result of both the #id and #parents properties being undefined. I'll try to get more info and post it (hopefully with a patch!) later on.

Comments