Problem/Motivation

File constraint of the Image icon is not working anymore, so the file is not uploaded
Drupal\file\Plugin\Validation\Constraint\FileImageDimensionsConstraint

See: https://www.drupal.org/node/3363700

Steps to reproduce

1. Go to /admin/config/services/pwa/manifest
2. Add an icon
3. save
4. the icon is not saved

The notation should be:
'FileImageDimensions' => ['maxDimensions' => '512x512', 'minDimensions' => '512x512']

CommentFileSizeAuthor
#5 3481485-pwa-save-icon-3.patch1.13 KBjoshahubbers

Issue fork pwa-3481485

Command icon 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

joshahubbers created an issue. See original summary.

joshahubbers’s picture

Status: Active » Needs review
zenimagine’s picture

Hi, do you have a patch to apply with "composer" ? because the module is unusable without logo

joshahubbers’s picture

StatusFileSize
new1.13 KB

You can always open the "Diff"-link in the mr above and save that as a .patch or .diff. This file you can use in composer. But for your convenience I attach it here.

zenimagine’s picture

Thanks, the patch works