Skip to content
New issue

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

[BUG] Function Check uploadFolder #1069

Open
honsa opened this issue Jul 5, 2024 · 2 comments
Open

[BUG] Function Check uploadFolder #1069

honsa opened this issue Jul 5, 2024 · 2 comments

Comments

@honsa
Copy link

honsa commented Jul 5, 2024

Hello

The "Function Check" in the backend does not work like expected, if we have changed the uploadFolder path.

If the uploadFolder path is set via typoscript, the check should use the value from typoscript setup.

Now the check always uses the hardcoded default path.

BasicFileUtility::createFolderIfNotExists(GeneralUtility::getFileAbsFileName('uploads/tx_powermail/'));

return file_exists(GeneralUtility::getFileAbsFileName($this->folder));

<source>Default Upload Folder exists (uploads/tx_powermail/)</source>

@mschwemer mschwemer changed the title Function Check uploadFolder [BUG ]Function Check uploadFolder Jul 5, 2024
@mschwemer mschwemer changed the title [BUG ]Function Check uploadFolder [BUG] Function Check uploadFolder Jul 5, 2024
@honsa
Copy link
Author

honsa commented Jul 7, 2024

@mschwemer I do not know if this is the way to go the create folder action is still missing, looking for solution ;)

91447a3
f53c8b3
19d9850

@mschwemer
Copy link
Collaborator

Internally we have a feature request to make that area much more flexible. For example, to the the editor choose the folder, where the attachments are saved.

This will be only v13 stuff.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants