Problem/Motivation

With Drupal 11.3.1, when uploading the first image in a multi-valued image field, DecorativeImageWidgetHelper::validateAltText() is triggered when uploading the first image.
It adds a "You must provide alternative text" error so it is then not possible to upload a second image

Steps to reproduce

Proposed resolution

I think the problem is that validateAltText() has an exception for file_managed_file_submit but this method was replaced with ManagedFile::submit().

Remaining tasks

User interface changes

API changes

Data model changes

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

prudloff created an issue. See original summary.

prudloff’s picture

Status: Active » Needs review

  • mably committed 2f81d640 on 1.0.x authored by prudloff
    feat: #3567038 Module breaks multivalued image widget
    
    By: prudloff
    
mably’s picture

Status: Needs review » Fixed

Thanks @prudloff!

Now that this issue is closed, review the contribution record.

As a contributor, attribute any organization that helped you, or if you volunteered your own time.

Maintainers, credit people who helped resolve this issue.

Status: Fixed » Closed (fixed)

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