DId not investigate exactly on how to get it, but it happens since file_url_generator service is used instead of deprecated file_create_url().

InvalidArgumentException : The URI 'x' is invalid. You must use a valid URI scheme. dans Drupal\Core\Url::fromUri()

CommentFileSizeAuthor
#3 3281097-invalid-uri-on.patch651 bytesoulalahakabu

Comments

Oulalahakabu created an issue. See original summary.

oulalahakabu’s picture

Title: Invilid URI on content edit page in some case » Invalid URI on content edit page in some case
oulalahakabu’s picture

StatusFileSize
new651 bytes
metallized’s picture

Confirm the problem, this patch fixed it

metallized’s picture

Status: Active » Needs review

Status: Needs review » Needs work

The last submitted patch, 3: 3281097-invalid-uri-on.patch, failed testing. View results

metallized’s picture

Status: Needs work » Reviewed & tested by the community

  • shelane committed a2e39f2 on 8.x-3.x authored by Oulalahakabu
    Issue #3281097 by Oulalahakabu, metallized: Invalid URI on content edit...
shelane’s picture

Assigned: oulalahakabu » Unassigned
Status: Reviewed & tested by the community » Fixed

Thanks

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.