Problem/Motivation
When I installed Varbase with blog, I got various errors with Varbase Components because of types mismatch.
Steps to reproduce
- Install Varbase 10rc2 with Blog
- Create 10+ blog posts to see pager, with tags and category
- Open homepage, /blog page, blog post page
Proposed resolution
I made several patches for resolving these issues.
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.0.0, varbase_components-2.0.0-rc1
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 #3444384 by Andrew Answer, VVS: Fix mismatched Varbase Components types with Drupal 10.2.5/10.2.6
| Comment | File | Size | Author |
|---|---|---|---|
| #8 | 3444384-8.patch | 1.46 KB | vvs |
| 3.patch | 631 bytes | andrew answer | |
| 2.patch | 431 bytes | andrew answer | |
| 1.patch | 483 bytes | andrew answer |
Comments
Comment #2
andrew answer commentedComment #3
rajab natshahThanks, Andrew, for reporting and patching
Comment #4
rajab natshahThe pagination bug could be filed in Varbase Components
Let us do this as a quick fix + testing + Quick fix release
Are you getting these errors while installing? - then continue the install
or after the build?
Comment #5
andrew answer commentedI got all these errors already after installation when I filled site with a content.
Comment #6
rajab natshahGot that.
I confirm the issues
Thanks for following up
Comment #7
rajab natshahComment #8
vvs commentedI'll try combine all patches to one file.
Comment #9
rajab natshahPlease, when you see this when installing for a new project
Do not continue anyway.
Install the PHP yaml extension first
Or the build and install may face issues of So Slow install or slow config import + plus some other not expected issues - like the one we faced in the last days.
symfony/yaml v6.4.7 was released
https://github.com/symfony/yaml/releases/tag/v6.4.7
Serialization\YamlSymfony::decode()In Drupal Core
https://git.drupalcode.org/project/drupal/-/blob/10.2.x/core/lib/Drupal/...
The
php8.3-yamlextension will do it .. ButYamlSymfonyor- pecl install yamlin Lando and PSH will NOT do itComment #10
rajab natshah#3444475: Fix Malformed inline YAML string in used yml files
Comment #11
rajab natshahWhat improved or added
enable the yaml ext for php in lando
What exactly should be updated?
and
How important is this feature to you?
Better support for yaml and faster import of configs, and better scanning and discovery of yaml files in Drupal
Comment #13
rajab natshahComment #14
rajab natshah✅ Released varbase_components-2.0.0-rc1
Comment #15
rajab natshahComment #17
rajab natshah✅ Release varbase-10.0.0