Open anchovy opened 2 years ago
Related to #99
When uploading to a s3 volume I'm getting the javascript alert warning 'Getting unknown property: craft\awss3\Volume::path' Clicking 'OK' on the warning and reloading the page I see that the file has been upload.
Stack trace:
2022-08-09 12:45:47 [-][29589][oosfddppofrc6kcpcotd4r0t0r][trace][async-queue] RateLimiter (0 of 2, context: Updating search indexes) 2022-08-09 12:45:47 [-][29589][oosfddppofrc6kcpcotd4r0t0r][trace][async-queue] New PushEvent for Updating search indexes job - (handled) 2022-08-09 12:45:48 [-][29589][oosfddppofrc6kcpcotd4r0t0r][error][yii\base\UnknownPropertyException] yii\base\UnknownPropertyException: Getting unknown property: craft\awss3\Volume::path in /craftsite/vendor/yiisoft/yii2/base/Component.php:154 Stack trace: #0 /craftsite/vendor/bymayo/pdf-transform/src/services/PdfTransformService.php(98): yii\base\Component->__get('path') #1 /craftsite/vendor/bymayo/pdf-transform/src/services/PdfTransformService.php(111): bymayo\pdftransform\services\PdfTransformService->getPdfAssetPath(Object(craft\elements\Asset)) #2 /craftsite/vendor/bymayo/pdf-transform/src/PdfTransform.php(114): bymayo\pdftransform\services\PdfTransformService->pdfToImage(Object(craft\elements\Asset)) #3 [internal function]: bymayo\pdftransform\PdfTransform->bymayo\pdftransform\{closure}(Object(craft\events\ElementEvent)) #4 /craftsite/vendor/yiisoft/yii2/base/Event.php(312): call_user_func(Object(Closure), Object(craft\events\ElementEvent)) #5 /craftsite/vendor/yiisoft/yii2/base/Component.php(642): yii\base\Event::trigger('craft\\services\\...', 'afterSaveElemen...', Object(craft\events\ElementEvent)) #6 /craftsite/vendor/craftcms/cms/src/services/Elements.php(2863): yii\base\Component->trigger('afterSaveElemen...', Object(craft\events\ElementEvent)) #7 /craftsite/vendor/craftcms/cms/src/services/Elements.php(785): craft\services\Elements->_saveElementInternal(Object(craft\elements\Asset), true, false, true) #8 /craftsite/vendor/craftcms/cms/src/controllers/AssetsController.php(329): craft\services\Elements->saveElement(Object(craft\elements\Asset)) #9 [internal function]: craft\controllers\AssetsController->actionUpload() #10 /craftsite/vendor/yiisoft/yii2/base/InlineAction.php(57): call_user_func_array(Array, Array) #11 /craftsite/vendor/yiisoft/yii2/base/Controller.php(178): yii\base\InlineAction->runWithParams(Array) #12 /craftsite/vendor/yiisoft/yii2/base/Module.php(552): yii\base\Controller->runAction('upload', Array) #13 /craftsite/vendor/craftcms/cms/src/web/Application.php(293): yii\base\Module->runAction('assets/upload', Array) #14 /craftsite/vendor/craftcms/cms/src/web/Application.php(602): craft\web\Application->runAction('assets/upload', Array) #15 /craftsite/vendor/craftcms/cms/src/web/Application.php(272): craft\web\Application->_processActionRequest(Object(craft\web\Request)) #16 /craftsite/vendor/yiisoft/yii2/base/Application.php(384): craft\web\Application->handleRequest(Object(craft\web\Request)) #17 /craftsite/web/index.php(26): yii\base\Application->run() #18 {main} 2022-08-09 12:45:44 [-][29589][oosfddppofrc6kcpcotd4r0t0r][info][application] $_GET = [ 'p' => 'webadmin/actions/assets/upload' ]
Description
Related to #99
When uploading to a s3 volume I'm getting the javascript alert warning 'Getting unknown property: craft\awss3\Volume::path' Clicking 'OK' on the warning and reloading the page I see that the file has been upload.
Stack trace:
Additional info