Problem/Motivation

Facing the following errors with Drupal ~11.2.0 when installing in CI/CDs

[info] varbase_media_demo module installed. [209.45 sec, 1.03 GB]
 [info] varbase_demo module installed. [210.76 sec, 1.02 GB]
 [error]  Calculating entity usage for field field_link on node:4 using the link plugin threw InvalidArgumentException: The URI '/blog/why-varbase-ultimate-drupal-distribution-accelerated-development' is invalid. You must use a valid URI scheme. in Drupal\Core\Url::fromUri() (line 293 of /var/www/html/test/v10x01x00a2t1/docroot/core/lib/Drupal/Core/Url.php). [212 sec, 997.05 MB] 
 [error]  Calculating entity usage for field field_link on node:5 using the link plugin threw InvalidArgumentException: The URI '/blog/why-varbase-ultimate-drupal-distribution-accelerated-development' is invalid. You must use a valid URI scheme. in Drupal\Core\Url::fromUri() (line 293 of /var/www/html/test/v10x01x00a2t1/docroot/core/lib/Drupal/Core/Url.php). [212.01 sec, 997.27 MB] 
 [error]  Calculating entity usage for field field_link on node:6 using the link plugin threw InvalidArgumentException: The URI '/blog/why-varbase-ultimate-drupal-distribution-accelerated-development' is invalid. You must use a valid URI scheme. in Drupal\Core\Url::fromUri() (line 293 of /var/www/html/test/v10x01x00a2t1/docroot/core/lib/Drupal/Core/Url.php). [212.03 sec, 997.44 MB] 
 [info] varbase_default_content module uninstalled. [215.64 sec, 1001.57 MB]

Proposed resolution

  • Add internal:/ to the uri for the field_link in default contents.

Remaining tasks

  • ✅ File an issue about this project
  • ✅ Addition/Change/Update/Fix to this project
  • ✅ Testing to ensure no regression
  • ➖ Automated unit/functional testing coverage
  • ➖ Developer Documentation support on feature change/addition
  • ➖ User Guide Documentation support on feature change/addition
  • ➖ UX/UI designer responsibilities
  • ➖ Accessibility and Readability
  • ✅ Code review from 1 Varbase core team member
  • ✅ Full testing and approval
  • ✅ Credit contributors
  • ✅ Review with the product owner
  • ✅ Update Release Notes and Update Helper on new feature change/addition
  • ✅ Release varbase-10.1.0-alpha2, varbase_demo-1.1.0-alpha4

Varbase update type

  • ✅ No Update
  • ➖ Optional Update
  • ➖ Forced Update
  • ➖ Forced Update if Unchanged

User interface changes

  • N/A

API changes

  • N/A

Data model changes

  • N/A

Release notes snippet

  • Issue #3535704: Fixed [error] Calculating entity usage for field field_link on default content using the link plugin threw InvalidArgumentException: The URI in Drupal ~11.2.0

Comments

rajab natshah created an issue. See original summary.

  • rajab natshah committed 0b066afa on 1.1.x
    Issue #3535704: Fix [error]  Calculating entity usage for field...
rajab natshah’s picture

Issue summary: View changes
rajab natshah’s picture

Assigned: rajab natshah » s.halawani
Issue summary: View changes
Status: Active » Fixed
Issue tags: +varbase-10.1.0-alpha2, +varbase_demo-1.1.0-alpha4
rajab natshah’s picture

Assigned: s.halawani » Unassigned
rajab natshah’s picture

Issue summary: View changes

Status: Fixed » Closed (fixed)

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

rajab natshah’s picture

Issue summary: View changes