Project

General

Profile

Actions

Bug #19313

closed

_ADD_GETVARS not used by JSMENU

Added by Søren Thing Andersen about 16 years ago. Updated about 11 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
-
Target version:
-
Start date:
2008-09-10
Due date:
% Done:

0%

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

Description

I discovered the issue when trying to use JSMENU with
special.userFunc = user_tx_commerce_catmenu_pub->init

The links worked using TMENU, but not JSMENU.

http://typo3.org/documentation/document-library/references/doc_core_tsref/4.1.0/view/8/11/#id4080403 describes the key _ADD_GETVARS.

This key is however ignored by tslib_jsmenu->generate_level().
Line 2863 is currently:
$LD = $this->menuTypoLink($data,$this->mconf['target'],'','',array(),$MP_params,$this->mconf['forceTypeValue']);

I suggest the 6th parameter is changed from
$MP_params
to
$this->mconf['addParams'].$MP_params.$data['_ADD_GETVARS']

This way not only the _ADD_GETVARS-key will be used, but also the common property addParams (see http://typo3.org/documentation/document-library/references/doc_core_tsref/4.1.0/view/10/1/)

(issue imported from #M9324)

Actions #1

Updated by Alexander Opitz over 11 years ago

  • Status changed from New to Needs Feedback
  • Target version deleted (0)

The issue is very old, does this issue exists in newer versions of TYPO3 CMS (4.5 or 6.1)?

Actions #2

Updated by Alexander Opitz about 11 years ago

  • Status changed from Needs Feedback to Closed
  • Is Regression set to No

No feedback for over 90 days.

Actions

Also available in: Atom PDF