Tests are needed for orphaning of actions - i.e. when the associated module is disabled.

Comments

Brigadier’s picture

Component: tests » other
Issue tags: +actions

I think I get the issue here but I'll give an example to make sure.

  1. Enable the comment module
  2. Go to admin/settings/actions
  3. Create an advanced action like "Unpublish comment containing keyword 'foo'"
  4. Disable the comment module
  5. Assert that the action "Unpublish comment containing keyword 'foo'" no longer exists
  6. Assert that the action "Unpublish comment" no longer exists

If that's the case then comment.module fails this with D7 head today. I believe #306540: Orphaned assigned actions still triggered and cannot be removed is relevant.

dave reid’s picture

Status: Active » Closed (duplicate)

Let's merge into #360540: gmap tutorial since a solution has started there.