Exception thrown for remote lib

Created on 8 May 2025, 8 days ago

Problem/Motivation

An error is thrown because the external file is not marked properly as external in the .libraries.api file:

Exception: Only local files should be passed to _locale_parse_js_file(). in _locale_parse_js_file() (line 1093 of core/modules/locale/locale.module).

Steps to reproduce

I've install the module on Drupal 10.3.14 and the issue arrises.

Proposed resolution

The file info needs to change from external: true to type: external.
Also it would be nice to add the remote license.

Remaining tasks

User interface changes

API changes

Data model changes

🐛 Bug report
Status

Active

Version

1.0

Component

Code

Created by

🇷🇴Romania rares badita Bucharest

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

Merge Requests

Comments & Activities

Production build 0.71.5 2024