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 theurifor thefield_linkin 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
Comment #3
rajab natshahComment #4
rajab natshahComment #5
rajab natshahComment #6
rajab natshah✅ Released varbase_demo-1.1.0-alpha4
Comment #8
rajab natshah✅ Released varbase-10.1.0-alpha2