Created branch for #1767
The object Controller now checks whether the record is hierarchical or
not
Re: #1767 - only set hierarchy test url if we have a hierarchy
Merge branch 'ticket-1767' into develop