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

CommentFileSizeAuthor
#8 3444384-8.patch1.46 KBvvs
3.patch631 bytesandrew answer
2.patch431 bytesandrew answer
1.patch483 bytesandrew answer

Comments

Andrew Answer created an issue. See original summary.

andrew answer’s picture

Issue summary: View changes
rajab natshah’s picture

Title: Varbase Components types mismatch » Fix mismatched Varbase Components types with Drupal 10.2.5
Project: Varbase - The Ultimate Drupal CMS Starter Kit (Bootstrap Ready) » Varbase Theme - Bootstrap 5
Version: 10.0.0-rc2 » 3.0.x-dev

Thanks, Andrew, for reporting and patching

rajab natshah’s picture

The 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?

andrew answer’s picture

I got all these errors already after installation when I filled site with a content.

rajab natshah’s picture

Got that.
I confirm the issues

Thanks for following up

rajab natshah’s picture

Project: Varbase Theme - Bootstrap 5 » Varbase Components
Version: 3.0.x-dev » 2.0.x-dev
vvs’s picture

StatusFileSize
new1.46 KB

I'll try combine all patches to one file.

rajab natshah’s picture

Please, when you see this when installing for a new project
Do not continue anyway.

Install the PHP yaml extension first

PHP YAML extension
The PHP YAML extension is not enabled. It is recommended that you enable the PHP YAML extension for your server.

PHP YAML extension

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-yaml extension will do it .. But YamlSymfony or - pecl install yaml in Lando and PSH will NOT do it

rajab natshah’s picture

What improved or added
enable the yaml ext for php in lando
What exactly should be updated?

      - pecl install yaml
      - docker-php-ext-enable yaml

and

    config:
      php: .lando/.php.ini

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

  • Rajab Natshah committed bab26d08 on 2.0.x
    Issue #3444384: Fix mismatched Varbase Components types with Drupal 10.2...
rajab natshah’s picture

Issue summary: View changes
Status: Active » Needs review
Issue tags: +varbase-10.0.0, +varbase_components-2.0.0-rc1
rajab natshah’s picture

Issue summary: View changes
rajab natshah’s picture

Status: Needs review » Fixed

Status: Fixed » Closed (fixed)

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

rajab natshah’s picture

Issue summary: View changes

✅ Release varbase-10.0.0