Feature #56133

Replace file feature for fal file list

Added by Bernhard Eckl over 1 year ago. Updated 20 days ago.

Status:Resolved Start date:2014-02-19
Priority:Could have Due date:
Assigned To:- % Done:

100%

Category:File Abstraction Layer (FAL) Spent time: -
Target version:-
PHP Version:5.3 Sprint Focus:
Complexity:

Description

Actually I use TYPO3 4.7 with DAM because of the need of the feature, a button to replace a file (new file upload, gets renamed to old filename on the server). Neither TYPO3 6.2 has this feature yet, nor the media extension.

media_extension_replace_file.jpg (23.1 kB) Tobias Schaefer, 2015-04-21 16:56


Related issues

related to Core - Task #56147: Regenerate missing RTE magic image on rendering Needs Feedback 2014-02-20
related to Core - Feature #48644: Easy way to replaceReferences Accepted 2013-05-29
related to Core - Feature #66514: Better UI to move multiple files or folders New 2015-04-21
related to Core - Bug #68260: FOLLOW-UP Replace file feature for fal file list Resolved 2015-07-16
duplicated by Core - Feature #67732: Add a "replace file" button when editing a file Closed 2015-06-24
duplicated by Core - Bug #66873: Add a "replace file" button when editing a file Closed 2015-05-10

Associated revisions

Revision 01663c47
Added by Sven Hartmann 20 days ago

[!!!][FEATURE] Replace file feature for FAL file list

Provides a new button "replace" at the extended view in FAL equal to
DAM. Its possible to replace a file
  • with a new one -> old file will be overwritten; identifier of the file
    object will be kept
  • with a new one -> old file will be deleted; identifier of the file
    object will be changed to the new filename

The file replacing also respects unique filenames.

To allow editors to replace files the need the "Files: Replace"
permissing needs to be set.

Change-Id: If5882ef620135d4e7238eb8bb56f020304cd1c0c
Resolves: #56133
Releases: master
Reviewed-on: http://review.typo3.org/40797
Reviewed-by: Frans Saris <>
Tested-by: Frans Saris <>
Reviewed-by: Benjamin Mack <>
Tested-by: Benjamin Mack <>

History

#1 Updated by Bernhard Eckl over 1 year ago

This is also because if the file is replaced, the references to the file don’t have to be updated manually one by one, they are just right.

#2 Updated by Frans Saris over 1 year ago

  • Status changed from New to Needs Feedback

You can do this already by uploading a new file with the same name and choose "override existing file". Is not that enough?

#3 Updated by Bernhard Eckl over 1 year ago

Yes, but the problem is that the filename on the client is different (e.g. there is a version number in the filename). But the filename on the internet should be clean (good name without versions, person names etc.). If the editors first have to rename the file before uploading, they will make mistakes.

#4 Updated by Alexander Opitz about 1 year ago

  • Category changed from Backend User Interface to File Abstraction Layer (FAL)
  • Status changed from Needs Feedback to New
  • Priority changed from Should have to Could have

#5 Updated by Frank Gerards 9 months ago

+1 for this feature , at least inside the media-extension

#6 Updated by Stephan Brun 6 months ago

+1 for this feature , at least inside the media-extension, as Frank said

#7 Updated by Sebastian Helzle 4 months ago

+1 for this feature, would be really helpful in our projects

#8 Updated by Tobias Schmidt 3 months ago

+1 for this feature

#9 Updated by Tobias Schaefer 3 months ago

The media-extension is coming with the replace file-feature now (see screenshot). The replace file-button is shown in the edit-view.

#10 Updated by Ephraim Härer 3 months ago

+1 for this feature, please merge into core

#11 Updated by Gerrit Code Review 3 months ago

  • Status changed from New to Under Review

Patch set 1 for branch TYPO3_6-2 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/39629

#12 Updated by Gerrit Code Review about 1 month ago

Patch set 2 for branch TYPO3_6-2 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/39629

#13 Updated by Ephraim Härer about 1 month ago

It's not exactly what I wanted but it looks good and works for me on my 6.2.12 and 6.2.13 installation.

#14 Updated by Bernhard Eckl about 1 month ago

I just tested the patch. It works, but the filename is changed to the new file. The filename should not be changed (this is one reason why I need this feature, filenames should always be the same).

#15 Updated by Markus Klein about 1 month ago

Please add your comments for the patch directly in Gerrit, otherwise they might not be seen by the reviewers!

use the links above and log in with your TYPO3 account. the Reply button on the top allows you to comment and vote (-1 then in your case).

#16 Updated by Ephraim Härer about 1 month ago

This comments you will find also in Gerrit ;-)

#17 Updated by Gerrit Code Review about 1 month ago

Patch set 1 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/40797

#18 Updated by Gerrit Code Review about 1 month ago

Patch set 2 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/40797

#19 Updated by Gerrit Code Review about 1 month ago

Patch set 3 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/40797

#20 Updated by Gerrit Code Review about 1 month ago

Patch set 4 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/40797

#21 Updated by Gerrit Code Review about 1 month ago

Patch set 5 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/40797

#22 Updated by Gerrit Code Review about 1 month ago

Patch set 6 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/40797

#23 Updated by Gerrit Code Review 29 days ago

Patch set 7 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/40797

#24 Updated by Gerrit Code Review 20 days ago

Patch set 8 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/40797

#25 Updated by Gerrit Code Review 20 days ago

Patch set 9 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/40797

#26 Updated by Sven Hartmann 20 days ago

  • Status changed from Under Review to Resolved
  • % Done changed from 0 to 100

Also available in: Atom PDF