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: #3469665: [2.0.0-rc1] Test PropTypeInterface::normalize()
This ticket is also the opportunity to do this: #3469755: Links normalize drops link options
Comments
Comment #2
grimreaperAdd proper reference to the UI Patterns Settings isue.
Comment #3
pdureau commentedComment #4
pdureau commentedDrupal\Core\Render\Component\Exception\InvalidComponentException: [attributes] String value found, but an object is requiredwas also found while working on #3470231: [2.0.0-beta2] Attributes normalizationUnfortunately, only by the gitlab pipeline, while running phpunit. I am still not able to reproduce it locally, even running the same test.
Comment #5
pdureau commentedwill be covered by #3470231: [2.0.0-beta2] Attributes normalization & #3472571: [2.0.0-beta2] Links normalize drops link options