File tree Expand file tree Collapse file tree 1 file changed +28
-0
lines changed
Expand file tree Collapse file tree 1 file changed +28
-0
lines changed Original file line number Diff line number Diff line change @@ -6,6 +6,34 @@ TYPO3 Exception 1297759968
66
77.. include :: /If-you-encounter-this-exception.rst.txt
88
9+ .. contents ::
10+
11+ When using Extbase FileUpload, TYPO3 13.4.17
12+ ============================================
13+
14+ .. warning ::
15+ Exception while property mapping at property path "": Expected argument of type
16+ "TYPO3\C MS\E xtbase\D omain\M odel\F ileReference", "TYPO3\C MS\C ore\H ttp\U ploadedFile"
17+ given at property path "documents".
18+
19+ The import for the PHP Attribute was missing
20+
21+ .. code-block :: diff
22+
23+ +use TYPO3\CMS\Extbase\Annotation\FileUpload;
24+
25+ #[FileUpload([
26+ 'validation' => [
27+ 'minFiles' => 0,
28+ 'maxFiles' => 1,
29+ 'mimeType' => ['allowedMimeTypes' => ['application/pdf']],
30+ ],
31+ 'uploadFolder' => '2:/documents/',
32+ ])]
33+ protected ?FileReference $documents = null;
34+
35+ Added the attribute.
36+
937Exception while property mapping at property path "":Object with identity "1" not found.
1038========================================================================================
1139
You can’t perform that action at this time.
0 commit comments