EZP-22471: do not join with ezcontentobject_tree on version number
Merge pull request #785 from ezsystems/fix-EZP-22471-draft-content-location

Fix EZP-22471: When loading resource in non-published version mainLocationId in ContentInfo is always null