[translate] "Unable to approve translation" notification false positive
Categories
(Webtools Graveyard :: Pontoon, defect, P2)
Tracking
(Not tracked)
People
(Reporter: mathjazz, Unassigned, Mentored)
Details
Steps to reproduce:
- You have an Unreviewed Suggestion, identical to the source string.
- Approve it by clicking on the Approve button.
- Failed Check notification appears ("Unchanged"). Approve Anyway with Enter.
- Next string in the list loads. Submit a translation with Enter.
Expected Result:
Translation gets saved.
Actual Result:
Translation isn't saved. "Unable to approve translation" notification appears.
Reporter | ||
Updated•5 years ago
|
Reporter | ||
Comment 1•5 years ago
|
||
Hi Eraulia - since we're running short on the Mentored bugs, please note that Anastasia will be working on this bug as well.
Comment 2•5 years ago
|
||
Sure no problem! I have another unfinished bug too. Always good to get an extra help.
As for this bug, I haven't figured out what causes the problem. My findings so far :
- The translation can be saved with the save button but not with enter.
- After doing the steps to reproduce the bug no matter what I do next (unaprove/approve & unreject/reject translation) it is still stuck in showing the
Unable to approve translation
notification whenever I want to save the translation changes with Enter. The only way I can save changes with Enter is to refresh the page.
What I found so far - 'source' will not change from the approved suggestion number to 'submitted'
It is in frontend/src/core/editor/components/connectedEditor.js:177
Reporter | ||
Comment 4•4 years ago
|
||
Thanks for your input, Nadinda and Anastasia!
I'll unassign this bug due to inactivity and for somebody else to pick up.
Comment 5•4 years ago
|
||
(In reply to Matjaz Horvat [:mathjazz] from comment #4)
Thanks for your input, Nadinda and Anastasia!
I'll unassign this bug due to inactivity and for somebody else to pick up.
Hello Matjaz.
I'll be debugging this bug, hope I can soon find the cause for the unexpected behavior.
Reporter | ||
Comment 6•4 years ago
|
||
Thanks, assigning.
Comment 7•4 years ago
|
||
(In reply to Matjaz Horvat [:mathjazz] from comment #6)
Thanks, assigning.
Hello Matjaz!
I am having difficulties in setting up the project. After running the make setup
and setting up my username, I am receiving this message:
Comment 8•4 years ago
|
||
(In reply to Mario Menjívar Sermeño from comment #7)
(In reply to Matjaz Horvat [:mathjazz] from comment #6)
Thanks, assigning.
Hello Matjaz!
I am having difficulties in setting up the project. After running the
make setup
and setting up my username, I am receiving this message:
I did also tried to populate the database following this documentation. Although the project gets created, no translations are loaded.
Comment 9•4 years ago
|
||
It's all good now!
Sorry, I forgot about checking the upstream repo.
A friend of mine gave me the heads-up! Thank you very much!
Comment 10•4 years ago
|
||
Hi,
is there an update to this bug?
I ran into it too.
I noticed that it only occurs for non-admin accounts.
When I log with an admin account I can't reproduce it any longer.
Comment 11•4 years ago
|
||
(In reply to harald.binkle from comment #10)
Hi,
is there an update to this bug?
I ran into it too.
I noticed that it only occurs for non-admin accounts.
When I log with an admin account I can't reproduce it any longer.
Hi Harold!
That's an interesting observation! I had some problems at the beginning setting up the local env. So no change has been made.
I'll continue to debug the system considering your observation tonight! Let us know if something else is found or the issue solve :)
Thanks!
Comment 12•4 years ago
|
||
Hello Mario,
to more specific:
In my case it occurs for contributors (non admin and non translator) when using the suggest button.
Comment 13•4 years ago
|
||
(In reply to harald.binkle from comment #12)
Hello Mario,
to more specific:
In my case it occurs for contributors (non admin and non translator) when using the suggest button.
Hi Harald, it happened to me logged in as an Admin.
I've finally been able to setup the project (had to install linux). I am looking forward solving this issue in the following days :)
Comment 14•4 years ago
|
||
Hello Matjaz,
This bugs seems to be fixed. I tried this on local with contributer suggesting multiple translations with same text. I approved few by Manager user and few admin user following above sequence. But never get "Unable to approve translation" message. Translation always gets saved with approve success message. It seems to be fixed with ignore_warnings parameter to approve api. Can we ask someone to retest it?
Reporter | ||
Comment 15•4 years ago
|
||
Indeed, I can no longer reproduce the bug, regardless of my permission level (admin, manager, translator) and file format (tried ftl, dtd, properties). Thanks for the research!
Updated•3 years ago
|
Description
•