- π§πͺBelgium Wim Leers Ghent π§πͺπͺπΊ
I wonder if π Fix install container definition of StreamWrapperManager Needs review fixed this? π€
Discovered in β¨ [PP-1] Mark parts of CKEditor 5 and Editor config schema as fully validatable Postponed .
That issue added validation for editor.editor.*:image_upload.scheme
: that must be one of the registered StreamWrapperInterface::WRITE_VISIBLE
stream wrappers.
However, it appears that in some scenarios, the public
stream wrapper is present in \Drupal\Core\StreamWrapper\StreamWrapperManager::$info
but absent from \Drupal\Core\StreamWrapper\StreamWrapperManager::$wrappers
, which causes \Drupal\Core\StreamWrapper\StreamWrapperManager::getNames(StreamWrapperInterface::WRITE_VISIBLE)
to return β¦ nothing! π±
Consequence: a validation error like this is generated:
The file storage you selected is not a visible, readable and writable stream wrapper. Possible choices: <em class="placeholder"></em>.
β¦ because there are no possible choices π
Remove
'editor.editor.*' => [
'image_upload.scheme' => [
'^The file storage you selected is not a visible, readable and writable stream wrapper\. Possible choices: <em class="placeholder"><\/em>\.$',
],
],
from \Drupal\Core\Config\Schema\SchemaCheckTrait::$ignoredPropertyPaths
.
A number of tests will fail.
TBD
TBD
None.
None.
None.
N/A
Active
11.0 π₯
Last updated
Not all content is available!
It's likely this issue predates Contrib.social: some issue and comment data are missing.
I wonder if π Fix install container definition of StreamWrapperManager Needs review fixed this? π€