Compile route before getName() to ensure same value is always returned. Refs #2806.
Merge remote-tracking branch 'upstream/3.0' into 3.0