Project

General

Profile

Actions

Bug #68537

closed

missing POST parameter "id" when using 'navigationComponentId' => 'typo3-pagetree' in ExtensionUtility::registerModule

Added by Alexander Kontos about 9 years ago. Updated over 4 years ago.

Status:
Closed
Priority:
Must have
Assignee:
-
Category:
Backend API
Target version:
-
Start date:
2015-07-25
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
7
PHP Version:
Tags:
Complexity:
Is Regression:
No
Sprint Focus:

Description

Thanks to prior developement it is possible to get the page tree active out of $mainModuleName => 'web'.

if you do so the id of the current selected Page is not present because it doesn't get delivered. This makes working with records on the selected page tortuous because you have to click the page again to get information delivered.

if you e.g. print $pageIdToShow in ViewModuleController.php placed in web you get

array(3) {
  ["M"]=>
  string(16) "web_ViewpageView" 
  ["moduleToken"]=>
  string(40) "6d929555799622f0e63090b66c5cdfeb9d8d988b" 
  ["id"]=>
  string(1) "2" 
}

but under file you only get

array(2) {
  ["M"]=>
  string(39) "file_someExtensionTxSomeExtensionM1" 
  ["moduleToken"]=>
  string(40) "481c63ee7f147f2ee51550ba83bc3993d29b98ed" 
}

Please provide the id of the current page also when e.g. 'navigationComponentId' => 'typo3-pagetree' is set in ExtensionUtility::registerModule

Thank you!

Actions

Also available in: Atom PDF