Error with libraries

Created on 23 January 2024, about 1 year ago

Problem/Motivation

After updating to drupal 10.2.2 I have the following error:

Uncaught DOMException: Failed to execute 'add' on 'DOMTokenList': The token provided ('not available') contains HTML space characters, which are not valid in tokens.
at Orchestrator.saveScores (https://example.com/modules/contrib/yoast_seo/js/yoast_seo.js?v=1.x:306:28)
at App.runAnalyzer (https://example.com/libraries/rtseo.js/dist/rtseo.js?v=2.0.0:307:20)
at App.pluginsLoaded (https://example.com/libraries/rtseo.js/dist/rtseo.js?v=2.0.0:341:8)
at Pluggable._pollLoadingPlugins (https://example.com/libraries/rtseo.js/dist/rtseo.js?v=2.0.0:26984:18)

🐛 Bug report
Status

Active

Component

Code

Created by

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

Comments & Activities

  • Issue created by @Nelo_Drup
  • 🇳🇱Netherlands interactivex

    Created a patch to fix the error.

  • First commit to issue fork.
  • Pipeline finished with Failed
    11 months ago
    Total: 69s
    #94899
  • @interactivex Hi, the problem happens if I use field group and choose the Details Sidebar option and then drag the realtime field into that field group that I created.

  • 🇳🇴Norway jonsimonsen

    It seems like the code has been restructured in the latest versions of the module so the patch does not apply. Can someone that knows the issue check if the new version solves it so the task can be marked as fixed or if a patch is still needed?

  • 🇳🇴Norway jonsimonsen

    For the record, I heard that the issue causes fails when saving a node that has a SEO field on it. It did save successfully on my setup after upgrading the module to 2.1.0. This suggests that the issue is fixed in the newer version, but maybe someone with more knowledge of the issue should double check before marking this as fixed.

Production build 0.71.5 2024