Currently, that drupal alter isn't called on rebuild. Thus, it produces inconsistent results. The reason why its not called on rebuild is because on rebuild we don't have a context. So context will also have to be removed from that drupal_alter().

Comments

Scott Reynolds’s picture

Status: Active » Fixed

Status: Fixed » Closed (fixed)

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