Bug #23356
closedviewlistrecord of sys_action (taskcenter) with broken pagebrowser link
0%
Description
When listing records as a User-Task in task center, the pagebrowser is not working at all.
I figured, that the links which are created with listURL from the class.db_list.inc class are not set up correctly.
the listURL() function puzzles together the following beginning of the URL (did not post the irrelevant rest):
$GLOBALS['BACK_PATH'] . $this->script.'?id='.(strcmp($altId,'')?$altId:$this->id)
within the sys_action class function 'viewRecordList' $this->script is initiated with:
t3lib_div::getIndpEnv('REQUEST_URI')
returning something like this:
/typo3/mod.php?M=user_task&SET[function]=sys_action.tx_sysaction_task&show=20
already containing a questionmark.
when commenting out the line:
$dblist->script = t3lib_div::getIndpEnv('REQUEST_URI');
the recordbrowser works, but the taskcenter tasklist is gone. so I guess the problem is how the task centerlist and the actual task are rendered and that it does not fit the listURL() parameters to call the taskcenter script.
(issue imported from #M15364)
Files
Updated by Oliver Hader about 14 years ago
Thanks for your report. Did you experience this behaviour already with TYPO3 4.4.0 or is it a new 4.4.1 issue?
Updated by Manuel Kammermann about 14 years ago
Cannot tell, did update directly to 4.4.1 skipping 4.4.0
Updated by Sebastian Schawohl almost 14 years ago
I experience same problem with TYPO3 4.4.4 when creating a module which creates a DB list (localRecordList).
The problem is, as Manuel said, that $this->script can contain a question mark.
So a solution would be to add before 'id=' :
- a '&' if $this->script contains a question mark ;
- else add a '?'.
I add a patch for that.
Updated by Chris topher almost 14 years ago
Hi Sebastian,
thanks for your patch!
Now send a mail with your patch to Core List. You can find a how to here: http://typo3blogger.de/ab-in-den-core/ [^] (I assume you're German ;)).
If you have any questions, don't hesitate to ask!
Updated by Manuel Kammermann almost 14 years ago
Hi Sebastian,
thank you for the patch, but it does not solve the problem for me.
the url now is correct with the & instead of the ?, but still the pagebrowser doesn't work for me.
another thing i just realised is, when i press the "next page" button twice or more, the url gets longer and longer, repeating the arguments id,table and pointer. Don't know if this is ment to be, but seems a bit strange too me.
Greets
Updated by Sebastian Schawohl almost 14 years ago
Hi Manuel,
Sorry to read that.
It seems there are two bugs : the listURL ones and the pagebrowser.
Maybe the listURL bug should become a bug by itself (where my patch seems to work) ?
Updated by Alexander Opitz over 10 years ago
- Status changed from New to Needs Feedback
- Target version deleted (
0) - Is Regression set to No
Hi,
as this issue is very old. Does the problem still exists within newer versions of TYPO3 CMS (4.5 or 6.1)?
Updated by Alexander Opitz over 10 years ago
- Status changed from Needs Feedback to Closed
No feedback within the last 90 days => closing this ticket.
If you think that this is the wrong decision or experience this issue again, then please write to the mailing list typo3.teams.bugs with issue number and an explanation or open a new ticket and add a relation to this ticket number.