0.8dev: Intraproduct ticket relation would result in an error when rendering the resource links because the proper envirionment was not being used. Refs #750.

Patch by Anze.


git-svn-id: https://svn.apache.org/repos/asf/bloodhound/trunk@1570152 13f79535-47bb-0310-9956-ffa450edef68