I use Drupal 7 with module "Trigger" enabled.

I go to the help page of trigger (admin/help/trigger). When i click the "Unassign" link (admin/structure/trigger/node), i get following warning:

Warning: Missing argument 3 for trigger_unassign() in trigger_unassign() (line 51 of /web/abc/abc.be/www/drupal/modules/trigger/trigger.admin.inc).

Comments

montesq’s picture

Version: 7.0 » 7.x-dev

Reproduced on 7.x-dev...

montesq’s picture

Status: Active » Needs review
StatusFileSize
new446 bytes

The 'unassign' link shoud not be displayed.
I've tried to set the 'type' of this item menu to MENU_LOCAL_ACTION. The link has disappeared but is it the right type?

pillarsdotnet’s picture

Version: 7.x-dev » 8.x-dev
Issue tags: +Needs backport to D7
StatusFileSize
new964 bytes

I'm pretty sure that the correct type is MENU_CALLBACK

EDIT: bad patch. Use the next one instead.

pillarsdotnet’s picture

I'm pretty sure that the correct type is MENU_CALLBACK

Status: Needs review » Needs work

The last submitted patch, trigger_unassign-MENU_CALLBACK-1037552-4.patch, failed testing.

pillarsdotnet’s picture

Status: Needs work » Needs review
StatusFileSize
new962 bytes

Weird. Trying again.

pillarsdotnet’s picture

Title: Warning: Missing argument 3 for trigger_unassign() in trigger_unassign() » The menu type of admin/structure/trigger/unassign should be MENU_CALLBACK
pillarsdotnet’s picture

xjm’s picture

Version: 8.x-dev » 7.x-dev
Status: Needs review » Needs work
Issue tags: -Needs backport to D7 +Needs tests

#764558: Remove Trigger module from core has been committed, so moving back to D7. We should additionally try to add an automated test for this if the bug is still reproducible. Thanks!

funex’s picture

funex’s picture

Status: Needs work » Closed (duplicate)
k0teg’s picture

yesct’s picture

Issue tags: -Needs tests

removing tag

yesct’s picture

one more try to rm