Issue Bug Closed

#103795Cannot localize page in backend

Abderrazak Tigiti 05/06/24, 11:12 updated 06/19/26, 10:03

Description

In typo3 V12, when we try to localize a page, it seems there is no default action selected (translate / copy) in the pop-up shown, which leads to a JavaScript error ‘Invalid action “null” 2 called.’ with an infinit loading pop-up.

Reviews 0

No change resolves or names this issue in its commit message, and no comment links one.

Files 3

History 12

  1. Georg Ringer commented and changed status New Needs Feedback <span data-processor="relativetime" data-value="2024-05-06T14:17:06+00:00" > 05/06/24, 14:17 </span>

    can you please check the ajax response in the console for errors?

  2. Abderrazak Tigiti commented <span data-processor="relativetime" data-value="2024-05-06T14:51:52+00:00" > 05/06/24, 14:51 </span>

    Abderrazak Tigiti wrote:
    > In typo3 V12, when we try to localize a page, it seems there is no default action selected (translate / copy) in the pop-up shown, which leads to a JavaScript error ‘Invalid action “null” 2 called.’ with an infinit loading pop-up.

    Georg Ringer wrote in #note-1:
    > can you please check the ajax response in the console for errors?

    Sure, in the console i had an “400 bad request” error says : `Invalid action “null” called.`

  3. Georg Ringer commented <span data-processor="relativetime" data-value="2024-05-08T15:34:32+00:00" > 05/08/24, 15:34 </span>

    can you please also check the response of the ajax request itself, not only the console? switch to the network tab and select “fetch/xhr”.

    thanks

  4. Abderrazak Tigiti commented <span data-processor="relativetime" data-value="2024-05-08T16:58:02+00:00" > 05/08/24, 16:58 </span>

    Georg Ringer wrote in #note-3:
    > can you please also check the response of the ajax request itself, not only the console? switch to the network tab and select “fetch/xhr”.
    >
    > thanks

    Yeah, i have this message : `Invalid action “null” called.
    You can check my add picture attached to see the message.

  5. Alex Kellner commented <span data-processor="relativetime" data-value="2024-05-17T14:12:52+00:00" > 05/17/24, 14:12 </span>

    I can confirm this bug in TYPO3 12.4.15 if you don’t choose “translate” or “copy” in the translation wizard but just click on “next” button.
    The AJAX result from TYPO3:

    Invalid action "null" called.

    I guess clicking on next without choosing a method shouldn’t be possible.

  6. Georg Ringer commented and changed status Needs Feedback Closed <span data-processor="relativetime" data-value="2024-05-28T14:34:26+00:00" > 05/28/24, 14:34 </span>

    closed as duplicate of #101415

  7. maximilian koechling commented <span data-processor="relativetime" data-value="2025-02-14T10:10:43+00:00" > 02/14/25, 10:10 </span>

    Georg Ringer wrote in #note-7:
    > closed as duplicate of #101415

    The infinite loop issue when translating a page in TYPO3 reappeared in version 12.4.26. A temporary fix is to add any content section to the translation box and then click the “Translate” button, which prevents the loop. This workaround ensures the translation page is no longer null, allowing the process to complete.

  8. Philipp Wrann commented and changed priority Should have Must have <span data-processor="relativetime" data-value="2026-06-19T09:07:49+00:00" > 06/19/26, 09:07 </span>

    I have this issue too:

    When i want to translate yet-untranslated content elements on a page by clicking the translate button and so on, i will get the following HTTP response:

    > HTTP 400: Invalid action “null” called.

    TYPO3 Version 12 + container extension (i figured i better mention this). I can’t tell, if this happens in V13 yet but because we are in the process of updating projects, i might update this issue.

  9. Philipp Wrann commented <span data-processor="relativetime" data-value="2026-06-19T09:40:21+00:00" > 06/19/26, 09:40 </span>

    This happens, when typo3 determines a “inconsistent state”. In that case, it won’t render a action and the request will contain action=null.

    In my case the problem is even more delicate because it is not obvious, why the state is inconsistent. typo3 states, that the problematic contents are highlightes, but there are not highlighted contents. I need to go to the list module and fix things manually. But this state came to be on many many pages of our customer and it would be much work, to fix everything.

    The site_language is configured to use the free mode but the contents have been translated in connected mode (i don’t know why and how, i just see the state). It should not be so easy to get stuck in this situation. This needs to more resilient.

  10. Philipp Wrann commented and changed priority Must have Should have <span data-processor="relativetime" data-value="2026-06-19T10:03:52+00:00" > 06/19/26, 10:03 </span>

    In my case 2 content elements caused the problem, that were not connected and not rendered in the backend. Part of the problem has to do with the b13/container extension because those elements were container-children connected to the default-language container but the foreign language. The container extension must have caused some trouble here. Nonetheless the backend should be more resilient IMO