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:
Damian Jansen
May 25, 2016, 1:31 AM

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

Alex Eng
May 25, 2016, 11:36 PM

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)

Ready for Release

Assignee

Alex Eng

Reporter

Damian Jansen

Tested Version/s

None

Time remaining

0m

Components

Sprint

None

Fix versions

Affects versions

Priority

High
Configure