Fatal error: Call to a member function form_validate() on a non-object in /opt/development/pjkaixin/sites/all/modules/rules_link/rules_link.admin.inc on line 463

When save permission setting:
dd

Comments

sepgil’s picture

Status: Active » Postponed (maintainer needs more info)

Sorry, but i can't replicate this issue. Are you using any additional (permission?) modules?

mavimo’s picture

in

function rules_link_component_form($form, $form_state, $entity_type, $rules_link) {}

form_state must be passed by reference

function rules_link_component_form($form, &$form_state, $entity_type, $rules_link) {}
archnode’s picture

Issue summary: View changes
Status: Postponed (maintainer needs more info) » Needs review
StatusFileSize
new2.14 KB

I also experienced this problem in the latest dev version. Also, the permission matrix doesn't seem to get saved as the default submit handler of the original rules ui form doesn't get called here. Related to this the state configuration referencing "Configure access" checkbox isn't valid in this context and prevents the javascript-show/hide effect of the permission matrix. The attached patch tries to correct these problems.

sepgil’s picture

Status: Needs review » Fixed

Thx, I've comitted the patch.

Status: Fixed » Closed (fixed)

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