Documents with invalid paths do not allow navigation to languages in Documents tab

Description

Description of problem:
If a document is uploaded with a specified path, it cannot be opened via the Documents tab in a project version

Version-Release number of selected component (if applicable):
3.4

How reproducible:
Easy always

Steps to Reproduce:
1. Sign in as admin
2. Go to a Project Version, go to Settings, go to Documents
3. Press the +, Upload a document specifying a path for the document
4. Click on the Documents tab, then click on the newly added document

Actual results:
The languages do not show up in the right hand pane

Expected results:
List of languages should show

Additional info:

Environment

None

Assignee

Unassigned

Reporter

Damian Jansen

Tested Version/s

None

Components

Priority

Highest
Configure