When using multiple languages (with prefix in the url) the assets urls start with a prefix: /en/_flysystem/css/css_ETC.css
Because of this prefix, the FlysystemPathProcessor doesn't handle the url and the result is a 404 page instead of perfectly fine css.
I traced this issue to the priority of this processor. If set to 200, it runs after the language negotiation processor (\Drupal\language\HttpKernel\PathProcessorLanguage) which handles the prefix.
| Comment | File | Size | Author |
|---|---|---|---|
| #2 | 3118927-2.patch | 493 bytes | spadxiii |
Issue fork flysystem-3118927
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
Comment #2
spadxiii commentedAdded a patch changing the priority of the service.
Comment #3
spadxiii commentedjust a quick note: patches still apply to 2.0
Comment #4
dmitriy.trt commentedNot sure why priority was set to minor. It makes the module unusable on multilingual sites with language path prefix.
The patch fixes it for me. Thanks, @SpadXIII
Comment #10
lisa.rae commented