After disabling a module that adds a task type the interface throws warnings about missing info.

Notice: Undefined index: title in hosting_task_table() (line 1465 of /var/aegir/hostmaster-7.x-3.x-2016-06-24-1456/profiles/hostmaster/modules/aegir/hosting/task/hosting_task.module). =>

We could add dummy info to fix this ...

      $info['title'] = t('Deleted task type?');
      $info['description'] = t('Deleted task type?');
      $info['class'] = '';
      $info['dialog'] = FALSE;
      $info['task_permitted'] = FALSE;

But I think it's nicer to just filter then out of the list.

Comments

helmo created an issue. See original summary.

  • helmo committed 3dde7f3 on 7.x-3.x
    Issue #2765479: Notices after disabling module with extra tasks
    
helmo’s picture

Status: Active » Fixed

Status: Fixed » Closed (fixed)

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