Task #54554
Epic #55070: Workpackages
Epic #54260: WP: FAL Missing Issues / Features / API
Story #54267: As an Editor I want to use a FAL withouth bugs
FAL: Folder not found and dockheader menu broken
Status: | Resolved | Start date: | 2013-12-21 | |
---|---|---|---|---|
Priority: | Should have | Due date: | ||
Assigned To: | - | % Done: | 100% |
|
Category: | File Abstraction Layer (FAL) | Spent time: | - | |
Target version: | 6.2.0 | |||
TYPO3 Version: | 6.2 | Complexity: | ||
PHP Version: | 5.5 | Sprint Focus: |
Description
Hi,
i had folder with one file inside. To be able to remove this folder (with current user settings) i had to remove first file than folder. I have deleted file than folder. After folder was deleted i have 2 messages:
Success: Fodler deletred
and
Error: Folder not found
I think that if folder what was opened is deleted user shoudl be redirected to parent to avoid this "Folder not found" message.
Also take a look at dockheader menu - there are only markers displayed but not any html element.
See attached file.
Associated revisions
[TASK] Deleting currently opened folder in filelist results in error
When you have a folder opened in the filelist and then delete it
via the folder-tree the file-module shows an error after its reload.
This patch checks for existence of the folder before it is created.
If it is not existent it checks wether the parent folder exists and
is accessible. If, so the parent folder will be shown instead.
If the parent folder is not accessible the usual exception is thrown.
Releases: 6.2
Resolves: #54554
Change-Id: I7a21c76fd476ebce439489040f3b4c6786afd10a
Reviewed-on: https://review.typo3.org/27030
Reviewed-by: Marcin Sągol
Tested-by: Marcin Sągol
Reviewed-by: Marcel Wieser
Tested-by: Marcel Wieser
Reviewed-by: Steffen Ritter
Tested-by: Steffen Ritter
History
#1 Updated by Marcin Sągol over 1 year ago
I forgot to mention that folder 'materialy_wideo' was under 'fileadmin' so: fileadmin/materialy_wideo/
#2 Updated by Ingo Schmitt over 1 year ago
- Parent task set to #54267
#3 Updated by Gerrit Code Review over 1 year ago
- Status changed from New to Under Review
Patch set 1 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/27030
#4 Updated by Steffen Ritter over 1 year ago
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
Applied in changeset 0a00643f7549cc3aeb4518e9a7065fb10187d402.