Actions
Bug #85798
closedWrong mapping in domain model for table table sys_filemounts
Status:
Closed
Priority:
Must have
Assignee:
-
Category:
File Abstraction Layer (FAL)
Target version:
-
Start date:
2018-08-10
Due date:
% Done:
0%
Estimated time:
1.00 h
TYPO3 Version:
8
PHP Version:
Tags:
FAL, Extbase, Domain Model
Complexity:
easy
Is Regression:
Sprint Focus:
Description
The domain model of table sys_filemounts is not consistent to its table.
Particularly the database field 'base' is mapped to domain model property 'isAbsolutePath'. This is not the correct representation of the field's content.
The field 'base' stores the associated 'sys_file_storage' in which the filemount is defined. Hence the domain model should return an integer (or even better: fileStorage model) and not a value of type bool. Furthemore the domain model's property 'isAbsolutePath' should be renamed to something like 'base' or 'storage'.
The related files are (TYPO3 V8.7.18):- typo3/sysext/extbase/ext_typoscript_setup.typoscript (line: 20)
- typo3/sysext/extbase/Classes/Domain/Model/FileMount.php (lines: 58 / 132-135 / 142-145)
Files
Actions