Feature #77685

Create a save and open copy button when saving a content element

Added by Edward Lenssen over 2 years ago. Updated 8 months ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
Backend User Interface
Target version:
-
Start date:
2016-08-30
Due date:
% Done:

100%

PHP Version:
Tags:
Complexity:
medium
Sprint Focus:

Description

Would be great to have an option to save current CE and open a copy of that content element with one button.

save and open copy.png View (3.49 KB) Edward Lenssen, 2016-08-30 10:50

TYPO3 Duplicate Cut.mov - Bug Screencast (10.1 MB) Wolfgang Klinger, 2018-02-10 07:21


Related issues

Related to TYPO3 Core - Bug #83892: The duplicate button is visible also if it makes no sense Closed 2018-02-14
Related to TYPO3 Core - Bug #84270: On editing metadata: Do not show "Duplicate button" Closed 2018-03-15

Associated revisions

Revision 6af66f1d (diff)
Added by Willi Wehmeier over 1 year ago

[FEATURE] Add duplicate button

This patch provides a new "duplicate" button inside of the topbar of the
edit record form next to the close button. This button creates and opens
a new copy of the current element which is positioned right below the
existing one.
If there are unsaved changes in the currently open record, a modal
appears with options to cancel, dismiss the changes and clone or save
the changes and clone the changed record.

Resolves: #77685
Releases: master
Change-Id: I9e2a0f02fc9c4452f0a7d868ea17aeacb9375d95
Reviewed-on: https://review.typo3.org/53101
Reviewed-by: Wolfgang Klinger <>
Tested-by: Wolfgang Klinger <>
Tested-by: TYPO3com <>
Reviewed-by: Mathias Schreiber <>
Tested-by: Mathias Schreiber <>
Reviewed-by: Anja Leichsenring <>
Tested-by: Anja Leichsenring <>
Tested-by: Frank Naegler <>
Reviewed-by: Frank Naegler <>

Revision 48da8ebc (diff)
Added by Frank Naegler over 1 year ago

[BUGFIX] Show duplicate button only if it makes sense

Resolves: #83892
Related: #77685
Releases: master
Change-Id: I16a7d57efa7d75e712bba24724d4da365b0aa40a
Reviewed-on: https://review.typo3.org/55713
Tested-by: TYPO3com <>
Reviewed-by: Mathias Schreiber <>
Tested-by: Mathias Schreiber <>
Reviewed-by: Christian Kuhn <>
Tested-by: Christian Kuhn <>

History

#1 Updated by Riccardo De Contardi over 2 years ago

  • Category set to Backend User Interface

#2 Updated by Benjamin Kott almost 2 years ago

  • Status changed from New to Accepted
  • Priority changed from Could have to Should have
  • Sprint Focus set to On Location Sprint

- New "duplicate" button
-- duplicate existing record
- no direct saving und button press
- show modal with warning if data is not persisted yet
-- cancel, save and continue, continue without saving

#3 Updated by Gerrit Code Review almost 2 years ago

  • Status changed from Accepted 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/53101

#4 Updated by Gerrit Code Review almost 2 years ago

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

#5 Updated by Gerrit Code Review almost 2 years ago

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

#6 Updated by Gerrit Code Review almost 2 years ago

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

#7 Updated by Gerrit Code Review almost 2 years ago

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

#8 Updated by Gerrit Code Review almost 2 years ago

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

#9 Updated by Gerrit Code Review almost 2 years ago

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

#10 Updated by Gerrit Code Review almost 2 years ago

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

#11 Updated by Gerrit Code Review almost 2 years ago

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

#12 Updated by Gerrit Code Review almost 2 years ago

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

#13 Updated by Gerrit Code Review almost 2 years ago

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

#14 Updated by Gerrit Code Review almost 2 years ago

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

#15 Updated by Gerrit Code Review almost 2 years ago

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

#16 Updated by Anja Leichsenring over 1 year ago

  • Sprint Focus deleted (On Location Sprint)

#17 Updated by Oliver Hader over 1 year ago

  • Complexity set to medium
  • Sprint Focus set to On Location Sprint

#18 Updated by Gerrit Code Review over 1 year ago

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

#19 Updated by Gerrit Code Review over 1 year ago

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

#20 Updated by Gerrit Code Review over 1 year ago

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

#21 Updated by Wolfgang Klinger over 1 year ago

Here's a screencast of the bug I mentioned in the Forge review ticket.
When you duplicate a page and then click 'Cut' in the context menu, the page gets duplicated and duplicated.

#22 Updated by Gerrit Code Review over 1 year ago

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

#23 Updated by Mathias Schreiber over 1 year ago

fixed the reloading issue.
Added benefit:
Filled in forms no longer get reloaded by clicking in the pagetree

#24 Updated by Gerrit Code Review over 1 year ago

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

#25 Updated by Willi Wehmeier over 1 year ago

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

#26 Updated by Frank Naegler over 1 year ago

  • Related to Bug #83892: The duplicate button is visible also if it makes no sense added

#27 Updated by Mathias Brodala about 1 year ago

  • Sprint Focus deleted (On Location Sprint)

#28 Updated by Christian Kuhn about 1 year ago

  • Related to Bug #84270: On editing metadata: Do not show "Duplicate button" added

#29 Updated by Benni Mack 8 months ago

  • Status changed from Resolved to Closed

Also available in: Atom PDF