page_manager_page_subtask_argument_ajax calls page_manager_page_form_argument with a non-existant form variable.

page_manager_page_form_argument($form, $clone_state);
$form = drupal_build_form('page_manager_page_form_argument', $form_state);

That's a pretty weird hunk, I have no idea what's actually happening there.

Comments

tim.plunkett’s picture

Status: Active » Needs review
StatusFileSize
new566 bytes

This removes the notice, but I think this bit needs some comments, or a fix.

tim.plunkett’s picture

Status: Needs review » Needs work
+++ b/page_manager/plugins/tasks/page.admin.incundefined
@@ -1056,6 +1056,7 @@ function page_manager_page_subtask_argument_ajax($step = NULL, $task_name = NULL
     page_manager_page_form_argument($form, $clone_state);

I don't understand the purpose of this line, since $clone_state doesn't seem to be modified, and the return value isn't captured.

tim.plunkett’s picture

Status: Needs work » Needs review
StatusFileSize
new583 bytes

Hm, I think this looks right.

tim.plunkett’s picture

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.