Created on 13 October 2023, 11 months ago
Updated 28 May 2024, 3 months ago

Problem/Motivation

In the console, I got this Error message :
Uncaught SyntaxError: missing ) after argument list js_cco9Nn3xgrPaNEVffsoy-G1xVV-JGqZqwhutac9Uazo.js:415:99

Steps to reproduce

Proposed resolution

When I look a the line :
return "<div class=\"media-embed-error media-embed-error--preview-error\">".concat(Drupal.t(''Une erreur s\'est produite lors de la prévisualisation du média. Sauvegardez votre travail et chargez à nouveau cette page, s\'il vous plaît !'), "</div>");

After concat(Drupal.t( we got 2 single quotes before the text. I think you need to remove one.

This line is related to https://www.drupal.org/node/2815083

Here is the complete code with this line :

/**
* DO NOT EDIT THIS FILE.
* See the following change record for more information,
* https://www.drupal.org/node/2815083
* @preserve
**/

(function (Drupal) {
  Drupal.theme.mediaEmbedPreviewError = function () {
    return "<div class=\"media-embed-error media-embed-error--preview-error\">".concat(Drupal.t(''Une erreur s\'est produite lors de la prévisualisation du média. Sauvegardez votre travail et chargez à nouveau cette page, s\'il vous plaît !'), "</div>");
  };
})(Drupal);;

Remaining tasks

User interface changes

API changes

Data model changes

Release notes snippet

🐛 Bug report
Status

Closed: outdated

Version

11.0 🔥

Component
Javascript 

Last updated 1 day ago

Created by

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

  • Issue created by @guygenestoux
  • Status changed to Postponed: needs info 11 months ago
  • 🇺🇸United States cilefen

    Where is that file in the Drupal Core codebase?

  • Status changed to Closed: outdated 3 months ago
  • 🇺🇸United States bnjmnm Ann Arbor, MI

    Transpiled JS files were removed in Drupal 10.0 and Drupal 9 is no longer supported thus this issue will not be addressed here. Fortunately, upgrading will likely address this issue.

Production build 0.71.5 2024