Hello,
We've met issue when left attach_library field empty and then saved options

Notice: Undefined offset: 1 in Drupal\Core\Asset\LibraryDependencyResolver->doGetDependencies() (line 53 of core/lib/Drupal/Core/Asset/LibraryDependencyResolver.php).
Drupal\Core\Asset\LibraryDependencyResolver->doGetDependencies(Array) (Line: 31)
Drupal\Core\Asset\LibraryDependencyResolver->getLibrariesWithDependencies(Array) (Line: 104)
......

Comments

zvse created an issue. See original summary.

imyaro’s picture

StatusFileSize
new1.41 KB

Here is the patch, please review it.

imyaro’s picture

Status: Active » Needs review
imyaro’s picture

StatusFileSize
new1.5 KB

Here is the patch for branch 8.x-1.3 (lwhich contains last 1.4 version)

hardik_patel_12’s picture

Status: Needs review » Fixed

Hi @imyaro,
Thanks for the patch it is fixed for branch 8.x-1.3.

Status: Fixed » Closed (fixed)

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