You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi , when i'm trying to put env vars in my .env / .env.local files and then pass them to my config/packages/oneup_ploader.yaml, it's not working.
For instance
for use_orphanage i got Oneup\UploaderBundle\DependencyInjection\OneupUploaderExtension::createStorageService(): Argument #3 ($orphanage) must be of type bool, string given, called in /var/www/vendor/oneup/uploader-bundle/src/DependencyInjection/OneupUploaderExtension.php on line 103
for max_size ; env var is not taking into account
oneup_uploader:
mappings:
depot:
frontend: dropzonestorage:
type: gaufrettefilesystem: gaufrette.uploads_filesystemnamer: app.depot_namer## Working :use_orphanage: true## Not working (.env : ORPHANAGE ='true' or ORPHANAGE ='1') :# use_orphanage: '%env(bool:ORPHANAGE)%'# use_orphanage: '%env(ORPHANAGE)%'## Working :max_size: 200000000## Not working :#max_size: '%env(MAX_FILE_SIZE)%'chunks:
maxage: 86400# 24hstorage:
directory: "%kernel.cache_dir%/uploader/chunks"orphanage:
maxage: 86400# 24h
The text was updated successfully, but these errors were encountered:
PauchardThomas
changed the title
oneup_uploader.yaml config : env var are not taken into account
oneup_uploader.yaml config : env vars are not taken into account
Feb 20, 2023
Bug Report
Summary
oneup_uploader.yaml
env var not workingHow to reproduce
Hi , when i'm trying to put env vars in my
.env
/.env.local
files and then pass them to myconfig/packages/oneup_ploader.yaml
, it's not working.For instance
Oneup\UploaderBundle\DependencyInjection\OneupUploaderExtension::createStorageService(): Argument #3 ($orphanage) must be of type bool, string given, called in /var/www/vendor/oneup/uploader-bundle/src/DependencyInjection/OneupUploaderExtension.php on line 103
The text was updated successfully, but these errors were encountered: