Problem/Motivation

Js aggregation breaks the working. I got this error:
Uncaught TypeError: Cannot read properties of undefined (reading 'debounce')

Proposed resolution

  • Remove the _ from Behaviors for the Entity Browser Multi select.
  • Add - core/drupal.debounce to dependencies for the entity_browser_enhanced.multiselect library.

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 entity_browser_enhanced-8.x-1.2, entity_browser_enhanced-2.0.0-alpha1

API changes

  • N/A

Data model changes

  • N/A

Release notes snippet

Comments

brtamas created an issue. See original summary.

brtamas’s picture

rajab natshah’s picture

Status: Active » Needs review
rigoucr’s picture

Status: Needs review » Reviewed & tested by the community

Thank you @brtamas the patch worked for me!, There error was removed , code makes sense for me and the module stills working as expected for me, so I'm marking the Issue as RTBC .

rajab natshah’s picture

Title: JS aggregation breaks working » Fix JS aggregation breaks working

rajab natshah’s picture

rajab natshah’s picture

Issue summary: View changes
rajab natshah’s picture

Assigned: Unassigned » mohammed j. razem
Issue summary: View changes
Status: Reviewed & tested by the community » Needs review
Issue tags: +entity_browser_enhanced-8.x-1.2, +entity_browser_enhanced-2.0.0-alpha1
rajab natshah’s picture

Assigned: mohammed j. razem » Unassigned
Status: Needs review » Fixed

Thanks for the fix and review.
Committed ...

rajab natshah’s picture

Issue summary: View changes
rajab natshah’s picture

rajab natshah’s picture

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.