We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
フォーラムにて挙げられた内容になります。 https://forum.basercms.net/t/topic/1381
baserCMS version: 5.1.0
pathinfo(): Argument #1 ($path) must be of type string, Laminas\Diactoros\UploadedFile given
ROOT/plugins/baser-core/src/Model/Validation/BcValidation.php at line 278 (edit)
CustomContentFrontServiceの「setupPreviewForView」でEntityを生成する際、 リクエスト内のデータをそのままセットしているため、ファイル項目がUploadedFileの状態で渡り、 結果的にバリデーション処理側で例外が発生しているようです。
The text was updated successfully, but these errors were encountered:
@HungDV2022 こちら一度確認してもらますか?
Sorry, something went wrong.
fix baserproject#3828 【カスタムコンテンツ】ファイル項目を含むエントリーをプレビュー時にエラーとなる
267b75b
44f412b
HungDV2022
No branches or pull requests
概要
フォーラムにて挙げられた内容になります。
https://forum.basercms.net/t/topic/1381
baserCMS version: 5.1.0
エラー内容
pathinfo(): Argument #1 ($path) must be of type string, Laminas\Diactoros\UploadedFile given
ROOT/plugins/baser-core/src/Model/Validation/BcValidation.php at line 278 (edit)
原因について
CustomContentFrontServiceの「setupPreviewForView」でEntityを生成する際、
リクエスト内のデータをそのままセットしているため、ファイル項目がUploadedFileの状態で渡り、
結果的にバリデーション処理側で例外が発生しているようです。
The text was updated successfully, but these errors were encountered: