GALAglobal / translationapi

The API is for anyone who wants to adopt best practices for a translation services API to interact with counterparts directly from your application or content management system. The API helps ensure interoperability for the most common tasks.
https://translate.taus.net/translate/taus-translation-api
MIT License
12 stars 3 forks source link

Server allows to post translation request with the same GUID twice #20

Closed achimr closed 9 years ago

achimr commented 9 years ago

Sending the following translation request twice: { "translationRequest": { "id": "2b575fdc-f6af-4b9e-850d-9dc0884c6595", "sourceLanguage": "de-DE", "targetLanguage": "en-US", "source": "Hallo Welt", "professional": true, "mt": false, "creationDatetime": "2014-05-20T19:20+01:00", "updateCounter": 0, "status": "initial" } } to http://localhost:3412/v2.0/translation/ creates two translation requests with the same GUID. Expected: Error response indicating that GUID was already used.

heartsomeXPhantom commented 9 years ago

Solved in v2,0f