Bug #58005

Element browser does not submit all GET parameters

Added by Alexander Stehlik about 6 years ago. Updated over 1 year ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
FormEngine aka TCEforms
Target version:
-
Start date:
2014-04-17
Due date:
% Done:

100%

TYPO3 Version:
6.2
PHP Version:
Tags:
Complexity:
Is Regression:
No
Sprint Focus:

Description

In the \TYPO3\CMS\Recordlist\Browser\ElementBrowse@r the parameters that are appended to the tab links are configured in the $addPassOnParams@ array in the getJsCode() method.

The selection of the fields that are passed on by default seems a bit random.

For example the fields P[uid] and P[pid] are not submitted which are quite important when you want to retrieve Page TSConfig in your custom link handler.

Is there a reason why these fields are not added to the links?

Associated revisions

Revision 53fe9134 (diff)
Added by Alexander Stehlik about 6 years ago

[TASK] Keep uid / pid parameters in element browser URLs

The uid and pid parameters will now be passed on in the jumpToUrl()
function of the element browser. This makes sure that Page TSConfig
can still be retrieved when the user clicks on a tab.

Resolves: #58005
Releases: 6.2
Change-Id: I04cecb0aade417254ed5b0320bbc398f44850617
Reviewed-on: https://review.typo3.org/29536
Reviewed-by: Markus Klein
Tested-by: Markus Klein
Reviewed-by: Wouter Wolters
Tested-by: Wouter Wolters
Reviewed-by: Georg Ringer
Tested-by: Georg Ringer

History

#1 Updated by Alexander Stehlik about 6 years ago

These are the fields that are originally submitted when the wizard is opened:

&P[fieldConfig] (array with multiple values)
&P[params]
&P[exampleImg]
&P[table]
&P[uid]
&P[pid]
&P[field]
&P[flexFormPath]
&P[md5ID]
&P[returnUrl]
&P[formName]
&P[itemName]
&P[hmac]
&P[fieldChangeFunc] (array with multiple values)
&P[fieldChangeFuncHash]
&P[currentValue]
&P[currentSelectedValues]

These are the fields that are passed on in jumpToUrl():

$P2['itemName']
$P2['formName']
$P2['fieldChangeFunc']
$P2['fieldChangeFuncHash']
$P2['params']['allowedExtensions']
$P2['params']['blindLinkOptions']
$P2['params']['blindLinkFields']

#2 Updated by Gerrit Code Review about 6 years ago

  • Status changed from New 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/29536

#3 Updated by Alexander Stehlik about 6 years ago

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

#4 Updated by Benni Mack over 1 year ago

  • Status changed from Resolved to Closed

Also available in: Atom PDF