Milestone webhook fires too many when uploading translations

Description

Req:

  • a .pot file

  • a fully translated .po for the above pot (easy mode: msgen -o out.po in.pot)

1. Go to a Gettext project/version
2. In Settings

  • in Webhooks, add a requestb.in url

  • In Documents, upload your .pot

3. Select a language
4. Click the dropdown for said .pot document
5. Select Upload translations
6. Select the .po
7. Press upload
8. View the requestb.in page

Actual:
There seems to be a "100%" entry for every textflow.

Expected:
1 webhook was sent

Environment

None

Activity

Show:

Former user 25 May 2016 at 23:36

Fix will be in https://zanata.atlassian.net/browse/ZNTA-938 targeting 4.0.

Issue was due to the webhook listen to each translation updates which already refactored in 4.0 (master branch)

Former user 25 May 2016 at 01:31

Exists in 3.8.x, so let's slate this for the next 3.9. patch after release

Ready for Release

Details

Assignee

Reporter

Labels

Tested Version/s

Time remaining

0d

Components

Sprint

Fix versions

Affects versions

Priority

Created 25 May 2016 at 01:27
Updated 27 June 2018 at 02:21
Resolved 27 May 2016 at 00:04

Flag notifications