[2.0.0-beta2] Check PropTypeInterface::normalize()

Created on 22 August 2024, 27 days ago
Updated 6 September 2024, 13 days ago

Problem/Motivation

They may have some errors with attributes management in LinksPropType (for example, when used in a view pager) & AttributesPropType

For AttributesPropType at least:

Drupal\Core\Render\Component\Exception\InvalidComponentException: [attributes] String value found, but an object is required

Found in USWDS & DaisyUI themes.

Proposed resolution

Unfortunately, I was never able to reproduce those errors on my local environment. So, let's investigate fist.

ui_patterns_devel is catching those errors, so it needs to be disabled before investigation.

Careful, because Olivier is currently doing the tests of the exact same plugins: 📌 [2.0.0-beta2] Test PropTypeInterface::normalize() Needs work

This ticket is also the opportunity to do this: 🐛 Links normalize drops link options Needs review

🐛 Bug report
Status

Closed: duplicate

Version

2.0

Component

Code

Created by

🇫🇷France pdureau Paris

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024