Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Invalid translation counts in the ExplorationOpportunityModel #20215

Open
chris7716 opened this issue Apr 25, 2024 · 1 comment
Open

Invalid translation counts in the ExplorationOpportunityModel #20215

chris7716 opened this issue Apr 25, 2024 · 1 comment
Labels
Impact: High Blocks or significantly slows down a core workflow. Work: Medium The means to find the solution is clear, but it isn't at good-first-issue level yet.

Comments

@chris7716
Copy link
Contributor

chris7716 commented Apr 25, 2024

Steps to reproduce

  1. Steps to reproduce(in dev server)
  2. Submit translations for all cards of “Finding the value of a number” lesson
  3. Accept all translation suggestions for that lesson
  4. Change the second card of the lesson. Change the interaction to multiple choice and add three choices.
  5. Add one correct interaction
  6. Add two hints
  7. Publish the lesson
  8. Translate all the available cards for the lesson “Finding the value of a number” except one hint.
  9. Accept all the submitted cards
  10. Now go back to the lesson and revert the version back to the 2nd version of the lesson.
  11. Now go back to the CD “Translate Text” tab.
  12. You will see all the cards of the lesson again to translate.
  13. Add translations to them
  14. Now try to accept those translations
  15. You will get the error for invalid translations count.

This might be happening since we do not create new version of EntityTranslationModel when we reverting an exploration.

This needs to be fixed because, if not, translators will occasionally run into this error and it will block all translation progress

316251586-a2714468-c66b-4849-b7e8-2127bfbcf669

Related: #20033

@chris7716 chris7716 added Impact: High Blocks or significantly slows down a core workflow. Work: Medium The means to find the solution is clear, but it isn't at good-first-issue level yet. labels Apr 30, 2024
@masterboy376
Copy link
Collaborator

Hello @chris7716, is this reproducible in local serve.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Impact: High Blocks or significantly slows down a core workflow. Work: Medium The means to find the solution is clear, but it isn't at good-first-issue level yet.
Projects
Status: Todo
Development

No branches or pull requests

2 participants