We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
When a page is currently in translation, its not possible to cancel this process anymore.
The process should be aborted and the UI should be updated
Nothing happens and the ajax view returns a 500 error code
Feb 15 01:15:50 ERROR django.request - Internal Server Error: /ajax/nuernberg/post_translation_state Traceback (most recent call last): File "/opt/integreat-cms/.venv/lib/python3.8/site-packages/django/core/handlers/exception.py", line 47, in inner response = get_response(request) File "/opt/integreat-cms/.venv/lib/python3.8/site-packages/django/core/handlers/base.py", line 181, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) File "/opt/integreat-cms/.venv/lib/python3.8/site-packages/django/views/decorators/http.py", line 40, in inner return func(request, *args, **kwargs) File "/opt/integreat-cms/.venv/lib/python3.8/site-packages/django/contrib/auth/decorators.py", line 21, in _wrapped_view return view_func(request, *args, **kwargs) File "/opt/integreat-cms/.venv/lib/python3.8/site-packages/integreat_cms/cms/decorators.py", line 112, in wrap return function(request, *args, **kwargs) File "/opt/integreat-cms/.venv/lib/python3.8/site-packages/django/contrib/auth/decorators.py", line 21, in _wrapped_view return view_func(request, *args, **kwargs) File "/opt/integreat-cms/.venv/lib/python3.8/site-packages/integreat_cms/cms/views/pages/page_actions.py", line 395, in post_translation_state_ajax page_translation = page.get_translation(target_language.slug) AttributeError: 'str' object has no attribute 'slug'
The text was updated successfully, but these errors were encountered:
Fix possibility to cancel translation process (fixes #1164)
57c0fd5
6a5d34c
0ae16d2
f23352c
timobrembeck
Successfully merging a pull request may close this issue.
Describe the Bug
When a page is currently in translation, its not possible to cancel this process anymore.
Steps to Reproduce
Expected Behavior
The process should be aborted and the UI should be updated
Actual Behavior
Nothing happens and the ajax view returns a 500 error code
Additional Information
Traceback
The text was updated successfully, but these errors were encountered: