Move logged in check from "page callback" to "access callback" and check if can accept ou iginore trusts request to send a forbidden page

To reproduce the blank page response:

  1. Send a trust request to other user
  2. copy the trust link from email or /contacts page
  3. disconect
  4. acces the trust link in a logged out browser.
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

albertosouza’s picture

caspervoogt’s picture

thx for the patch. Might be handy for people to know what the exact PHP fatal error was, to help them locate this patch.

ezra-g’s picture

Issue tags: +Commons 7.x-3.4 radar

Thanks for the patch. Adding to our 3.4 radar for review.

ezra-g’s picture

Status: Needs review » Fixed

Indeed, this problem is reproducible. I committed a slightly less verbose fix. Thanks for the pathc, @albertosouza!

http://drupalcode.org/project/commons.git/commitdiff/132f41a?hp=c5ee1a69...

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