Issue #2223615 by znerol: Use request stack in local task/action manager.