Project

General

Profile

Actions

Feature #23526

closed

Call the list module through the dispatcher instead directly

Added by Helmut Hummel about 14 years ago. Updated over 13 years ago.

Status:
Closed
Priority:
Should have
Category:
-
Target version:
-
Start date:
2010-09-11
Due date:
% Done:

0%

Estimated time:
PHP Version:
5.0
Tags:
Complexity:
Sprint Focus:

Description

Branches: trunk

Problem:
Many core backend modules have their own "index" script and are accessed by calling this script directly. However since some time now a module dispatcher was introduced (mod.php) which does some basic initialisation and after that includes the module code. By having a central entry and exit point for modules it would be much easier to change the initialisation and perform cleanups at one place instead of doing it in several places.

Solution:
Use the dispatcher for the list module and change all links to it accordingly.

How to test:
Apply the patch and check if all list module stuff works like before, but the script link should now always be mod.php?M=web_list

Notes:
Since the list module moved to sysext in the current trunk and backards compatibility is already maintained by redirecting to the right location, there's no need to add a fallback in the current script.

While searching and replacing the old links to db_list.php, I replaced all of them with a call to the already present API call to t3lib_extMgm::createListViewLink(). So future changes to the location would be much easier. To achieve that I needed to do some minor modifications to that API function, still keeping the backwards compatibility for it.

(issue imported from #M15686)


Files

15686.diff (10.4 KB) 15686.diff Administrator Admin, 2010-09-11 16:28
15686_v3.diff (23 KB) 15686_v3.diff Administrator Admin, 2010-12-17 12:56

Related issues 1 (0 open1 closed)

Related to TYPO3 Core - Bug #24514: sysext:version: API change list module dispatcherClosedSteffen Kamper2011-01-11

Actions
Actions

Also available in: Atom PDF