Error in validating a hero image that has a lot different characters.

Created on 25 July 2024, about 1 month ago
Updated 26 August 2024, 12 days ago

Overview

So while following the steps to setup a new site for XB and creating a new article node i came up with a problem that if i try to upload an image with a lot of characters which in my case was (Screenshot 2024-07-22) i was getting the following error:-

Exception: [src] Invalid URL format in Drupal\experience_builder\Plugin\Adapter\AdapterBase->validateConformanceToJsonSchemaType() (line 67 of /var/www/html/web/modules/contrib/experience_builder/src/Plugin/Adapter/AdapterBase.php).

But when i tried uploading an image with a simpler name such as

a.jpeg

then i was able to successfully upload the image.

Proposed resolution

User interface changes

🐛 Bug report
Status

Closed: duplicate

Component

Page builder

Created by

Live updates comments and jobs are added and updated live.
  • Needs tests

    The change is currently missing an automated test that fails when run with the original code, and succeeds when the bug has been fixed.

Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024