This is because of the exit; in all of these page callbacks.

The session is only stored conditionally in drupal_exit() and by calling exit(), that doesn't happen.

It is not necessary to use exit or drupal_exit() manually in page callbacks, if you do not return anything then Drupal will not render anything.

The attached patch removes them.

CommentFileSizeAuthor
modal_forms_exit.patch531 bytesBerdir
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

Berdir’s picture

Status: Active » Needs review
frjo’s picture

Status: Needs review » Fixed

Committed a updated version of this patch to 7-dev. Thanks!

Status: Fixed » Closed (fixed)

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