Closed Rikijs closed 2 years ago
I'm afraid the bundle is not yet compatible with flysystem v2
😢
League\Flysystem\FilesystemInterface
does not exist anymore in flysystem v2
.
I'm curious why you could even combine this bundle with oneup/flysystem-bundle v4
? 🤔
I bumped versions of 2 oneup
bundles manually and run composer update
asuming support of FlySystem v2
is complete.
Project was working good with FlySystem v1
(oneup/flysystem-bundle v3.7.0 and oneup/uploader-bundle v3.1.2
).
Looks like will have to downgrade now to v1 again.
I see. I have to make it compatible with the new flysystem-bundle release first.
Project was working good with FlySystem v1 (oneup/flysystem-bundle v3.7.0 and oneup/uploader-bundle v3.1.2). Looks like will have to downgrade now to v1 again.
I'll keep you updated with the progress 👍
Thanks, much appreciated!
Hey, is there any news ? This is an important feature, we also updated to Flysystem v2 and discovered that Oneup was finally not compatible
Not yet as I didn't have any free time left to work on our OSS projects :(
same issue here too
I'm curious why you could even combine this bundle with
oneup/flysystem-bundle v4
? 🤔
It's in "require-dev". I assume if you don't add the dependency for "dev" than it gets ignored. The composer.json should be extended with
"conflict": {
"oneup/flysystem-bundle": "^4.0"
},
That should prevent this problem.
Upgraded project to Symfony v6.0.8
.
It works with OneUp bundles latest releases
boundle | version |
---|---|
oneup/flysystem-bundle | 4.4.1 |
oneup/uploader-bundle | 3.2.0 |
Closing as issue is solved
Question
Made an upgrade to
Oneup Flysystem
andOneup Uploader
in order to use latestFlysystem v2
! Yet i am getting an error while uploading files.Argument 1 passed to Oneup\UploaderBundle\Uploader\Storage\FlysystemStorage::__construct() must be an instance of League\Flysystem\FilesystemInterface, instance of League\Flysystem\Filesystem given, called in D:\DEV\Izstrade_WEB_DEV\_DEV_SF5_\zenfiles5\var\cache\dev\Container9LbNvYG\getOneupUploader_Controller_GalleryService.php on line 28
I tried changing
League\Flysystem\Filesystem
referrences in YAML toLeague\Flysystem\FilesystemInterface
. It has no effect - the same error persists.It might be misconfiguration issue or a bug.
Any help would be appreciated, thank you!