We use hook_form() to add the status change form for all agents but the callback is located on the personalize.admin.inc include. This means that it will throw an error when this form is retrieved from a page that doesn't already utilize this file.

Suggested solution: utilize a callback wrapper function to load the appropriate dependency files in the the form state.

Comments

  • eshta committed 8a9623c on 7.x-1.x
    Issue #2493709 by eshta: Fix form dependencies for agent-specific status...
eshta’s picture

Status: Active » Fixed

  • eshta committed 863c180 on 7.x-2.x
    Issue #2493709 by eshta: Fix form dependencies for agent-specific status...

Status: Fixed » Closed (fixed)

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