- Issue created by @mullzk
- 🇨🇭Switzerland mullzk
Update to Drupal 11.1.2:
Alpha2 mostly works, except uploading:As on Drupal 10.4.2, Uploading files fails when Combined Upload is enabled. The steps to reproduction are the same, but now there is a different error-message, and it is presented in the upload-modal itself:
The "media_directories_ui_file_validator" plugin does not exist. Valid plugin IDs for Drupal\Core\Validation\ConstraintManager are: Callback, Blank, NotBlank, Email, Choice, Image, BlockContentEntityChanged, CKEditor5MediaAndFilterSettingsInSync, CKEditor5ToolbarItemDependencyConstraint, CKEditor5ToolbarItemConditionsMet, UniqueLabelInList, CKEditor5ToolbarItem, CKEditor5Element, SourceEditingPreventSelfXssConstraint, StyleSensibleElement, SourceEditingRedundantTags, CKEditor5EnabledConfigurablePlugins, CKEditor5FundamentalCompatibility, CommentName, DateTimeFormat, EntityBrowserImageDimensions, FileExtension, FileEncoding, FileIsImage, FileSizeLimit, FileUriUnique, FileExtensionSecure, FileNameLength, FileImageDimensions, FileValidation, LinkType, LinkExternalProtocols, LinkNotExistingInternal, LinkAccess, MediaMappingsConstraint, oembed_resource, MenuTreeHierarchy, MenuSettings, PathAlias, RedirectSourceLinkType, TaxonomyHierarchy, UserNameUnique, UserCancelMethod, UserMailUnique, UserName, UserMailRequired, ProtectedUserField, ContentTranslationSynchronizedFields, PluginExists, UniquePathAlias, ValidPath, EntityChanged, ValidReference, EntityHasField, EntityType, Bundle, EntityUntranslatableFields, ImmutableProperties, ReferenceAccess, CountryCode, FullyValidatable, UriHost, AllowedValues, PrimitiveType, ComplexData, Uuid, EntityBundleExists, NotNull, Count, Length, ValidKeys, Range, Null, UniqueField, Regex, RequiredConfigDependencies, LangcodeRequiredIfTranslatableValues, ConfigExists, ExtensionExists, ExtensionName
But on D11, the workaround no longer works: With Combined Uploads disabled, when choosing a document or image in the browser-file-manager, I get the error-message:
The "file_validate_size" plugin does not exist. Valid plugin IDs for Drupal\Core\Validation\ConstraintManager are:
, followed by the same List of ClassNames.Other than that, alpha-2 works for me on Drupal 11. Aside from this bug, is there any thing we can help to bring it to stable?
- 🇨🇭Switzerland ytsurk Switzerland
Thank you for reporting the issue. I'm having a look at it now.
- 🇨🇭Switzerland ytsurk Switzerland
Fixed in 🐛 Respecting file validator API Active
- 🇨🇭Switzerland mullzk
I can confirm that alpha3 fixes my issue both on D10.4.2 and D11.1.2
Thank you very much for the fix, and your work in general
Automatically closed - issue fixed for 2 weeks with no activity.