Issue with cardinality

Created on 22 January 2025, 2 months ago

Problem/Motivation

After update drupal to the 10.3.10 and Autocomplete Deluxe to 2.1 there is an issue "Warning: Undefined array key "#cardinality" in Drupal\autocomplete_deluxe\Element\AutocompleteDeluxeElement::processElement() (line 115 of modules/contrib/autocomplete_deluxe/src/Element/AutocompleteDeluxeElement.php)."

Steps to reproduce

go to a content with a reference field and autocomplete deluxe formater

Proposed resolution

add a test on each key (basic) before use it

Remaining tasks

  • ✅ File an issue
  • ➖ Addition/Change/Update/Fix
  • ➖ Testing to ensure no regression
  • ➖ Automated unit testing coverage
  • ➖ Automated functional testing coverage
  • ➖ UX/UI designer responsibilities
  • ➖ Readability
  • ➖ Accessibility
  • ➖ Performance
  • ➖ Security
  • ➖ Documentation
  • ➖ Code review by maintainers
  • ➖ Full testing and approval
  • ➖ Credit contributors
  • ➖ Review with the product owner
  • ➖ Release notes snippet
  • ❌ Release

API changes

  • N/A

Data model changes

  • N/A

Release notes snippet

  • N/A
🐛 Bug report
Status

Active

Version

2.1

Component

Multiple values

Created by

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

Comments & Activities

Production build 0.71.5 2024