Problem/Motivation

While testing ui_suite_uswds and AFTER uninstalling ui_pattern_devel notice that pager starts throwing a fatal error

Drupal\Core\Render\Component\Exception\InvalidComponentException: [items[0].title] Integer value found, but a string is required/n[items[1].title] Integer value found, but a string is required in Drupal\Core\Theme\Component\ComponentValidator->validateProps() (line 203 of core/lib/Drupal/Core/Theme/Component/ComponentValidator.php).

Steps to reproduce

Using ui_suite_uswds
Create a view that uses pagination
See fatal error

Proposed resolution

Cast as string?

Remaining tasks

Review

User interface changes

N/A

API changes

N/A

Data model changes

N/A

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

smustgrave created an issue. See original summary.

smustgrave’s picture

Status: Active » Needs review
pdureau’s picture

Title: Fatal error in patterns » [2.0.0-beta1] Fix InvalidComponentException in links' text property
Assigned: Unassigned » pdureau

  • pdureau committed 2d6b275b on 2.0.x authored by smustgrave
    Issue #3467219 by smustgrave: Fix InvalidComponentException in links'...
pdureau’s picture

Assigned: pdureau » Unassigned
Status: Needs review » Fixed
pdureau’s picture

Status: Fixed » Closed (fixed)