When you create a new node, that is signup-enabled by default, you end up with a broken link to the "Signups" tab since there's no nid yet:

  $hint = t('If enabled, you can control whether users may sign up by visiting the !signups tab and toggling if signups are %open or %closed for this @node_type.', array('!signups' => l(t('Signups'), 'node/'. $node->nid .'/signups'), '%open' => t('open'), '%closed' => t('closed'), '@node_type' => strtolower(node_get_types('name', $form['type']['#value']))));

$node is NULL on new issues, so we get a PHP warning and a broken link.

Comments

dww’s picture

Status: Active » Needs review
StatusFileSize
new936 bytes

Simple patch that just hides that help text entirely during issue creation.

dww’s picture

I suppose we could conditionally define the replacement for !signups to be the link if there's a node, or just text on new node creation...

stborchert’s picture

Status: Needs review » Reviewed & tested by the community

Works and can be committed.

dww’s picture

Status: Reviewed & tested by the community » Fixed

Committed to HEAD, DRUPAL-5--2, and DRUPAL-5. Thanks for the review.

Status: Fixed » Closed (fixed)

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