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

could not update translation without term #3076

Closed
srl295 opened this issue Jan 20, 2024 · 4 comments
Closed

could not update translation without term #3076

srl295 opened this issue Jan 20, 2024 · 4 comments
Labels
bug P4 We expect it to be fixed someday

Comments

@srl295
Copy link
Contributor

srl295 commented Jan 20, 2024

  1. setup Pontoon 2a02872 using dev setup docs here
  2. tried to add a string using the http://localhost:8000/admin/projects/terminology/strings/ page
  3. then in translating, clicking on the Save button such as http://localhost:8000/csw/terminology/common/?string=71 'spins' briefly but doesn't mark as saved
  4. browser console shows a 500 internal error, and docker console shows
pontoon.base.models.Entity.term.RelatedObjectDoesNotExist: Entity has no term.
[ERROR:django.server] 2024-01-20 06:54:05,420 "POST /translations/create/ HTTP/1.1" 500 18782

(above error seen mentioned in another issue but that's all)

  1. however, trying to leave the area said 'you have unsaved changes!'
  2. i went to http://localhost:8000/a/terminology/term/add/ and somehow added my term. Then i was able to save.

so it seems that:

  • the 500 internal err should be propagated to the UI somehow
  • otherwise there may be user error here

thanks!

@mathjazz
Copy link
Collaborator

@srl295
Copy link
Contributor Author

srl295 commented Jan 25, 2024

@mathjazz thanks, though:

  • should this be documented within pontoon?
  • are the UI issues an internal error within pontoon?

@mathjazz
Copy link
Collaborator

  • should this be documented within pontoon?

Yes. That's covered by #2214.

  • are the UI issues an internal error within pontoon?

Good point. This is still a bug that should be fixed.

@mathjazz mathjazz reopened this Jan 25, 2024
@mathjazz mathjazz added bug P4 We expect it to be fixed someday labels Jan 25, 2024
@mathjazz
Copy link
Collaborator

The error was fixed in #3097.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug P4 We expect it to be fixed someday
Projects
Archived in project
Development

No branches or pull requests

2 participants