Problem/motivation
Similar to what was described and recently fixed in Drupal core in #3537774: text_textarea_with_summary widget fails if violation lacks value/summary in property path, this module's validation fails (where it didn't before) when the tab value is left empty.
Steps to reproduce
- Create a field of type Bootstrap Horizontal Tab
- Attempt to save it, leaving the tab label value blank
- You should get a validation warning, but instead, there is a fatal error, with
Warning: Undefined property: Symfony\Component\Validator\ConstraintViolation::$arrayPropertyPath
Proposed resolution
Same resolution as in #3537774: text_textarea_with_summary widget fails if violation lacks value/summary in property path
This module uses Gitlab CI for automated testing of proposed code changes. To contribute code changes, create a merge request. Patch files will not trigger automated testing and are not sufficient for review.
Issue fork bootstrap_horizontal_tabs-3566724
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
Comment #3
mark_fullmer