400 bad request on TM merge Translations for poject version without document.

Description

We are getting 400 bad requests on TM merge translations for project version which does not contain a document.

Step to reproduce:

  • Login to zanata.

  • Go to dashboard

  • Create new project

  • Create new version

  • Do not upload any document

  • Select that version

  • Open a browser console by inspect.

  • Select "^" down arrow after settings options

  • Click TM Merge translation

  • Observe the console

Actual Result:

  • 400 bad request in console

Expected Result:

  • There should be the proper message if there is no document.

  • Like message shows on copy translation if there is no document

Note:

  • Attached screen captured for more info.

Environment

None

Status

Assignee

Alex Eng

Reporter

Sachin Pathare

Labels

None

Tested Version/s

None

Sprint

None

Fix versions

Priority

High