Project

General

Profile

Actions

Bug #19980

closed

Clean up frontend editing actions

Added by Jeff Segars about 15 years ago. Updated over 13 years ago.

Status:
Closed
Priority:
Should have
Assignee:
Category:
-
Target version:
-
Start date:
2009-02-06
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
4.3
PHP Version:
5.2
Tags:
Complexity:
Is Regression:
Sprint Focus:

Description

The frontend editing actions in t3lib_frontendedit have some small inconsistencies and duplicated code that can be cleaned up.

Calling editing actions based directly on the frontend editing cmd (ie. edit > $this>edit()) can cause problems with reserved keywords. While this isn't a problem in the current code, the frontend editing controller is extensible so an additional controller that needs to handle the 'new' cmd would have problems. This is fixed by prepending the cmd with 'do' instead (ie. edit > $this>doEdit()).

Additionally, inconsistencies with saving and duplicated code in the various move functions have been addressed.

(issue imported from #M10372)


Files

0010372.diff (8.4 KB) 0010372.diff Administrator Admin, 2009-02-06 21:11
0010372_v2.diff (8.63 KB) 0010372_v2.diff Administrator Admin, 2009-02-25 21:29
Actions #1

Updated by Jeff Segars about 15 years ago

v2 patch committed to trunk in r5105.

Actions

Also available in: Atom PDF