Webform nodes can no longer be deleted when mollom is enabled after updating to beta7. Attempting to delete leads to the following fatal error: Call to a member function initialize() on null in /var/www/natarch/modules/contrib/mollom/src/API/FeedbackManager.php on line 51.

This is the referenced code:

    $forms = FormController::getProtectedForms();
    $mollom_form = Form::load($forms['delete'][$form_state->getFormObject()->getFormId()])->initialize();
    $entity_type = $mollom_form['entity'];

Other nodes can still be deleted, so I suspect that this is a webform issue.

Comments

LaravZ created an issue. See original summary.

jrockowitz’s picture

This is not a Webform issue, because the Webform module does not implement any support hooks for Mollom.

I am assuming the problem goes away if Mollom is disabled.

LaravZ’s picture

Status: Active » Closed (won't fix)

True, the problem disappears when mollom is disabled. Unfortunately, this means that, for now, integration of webforms with mollom is not without problems. I'll close the ticket on this module.