Project

General

Profile

Actions

Bug #23356

closed

viewlistrecord of sys_action (taskcenter) with broken pagebrowser link

Added by Manuel Kammermann about 14 years ago. Updated over 10 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
-
Target version:
-
Start date:
2010-08-05
Due date:
% Done:

0%

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

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

bug_0015364.diff (771 Bytes) bug_0015364.diff Administrator Admin, 2010-10-27 18:30
Actions #1

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?

Actions #2

Updated by Manuel Kammermann about 14 years ago

Cannot tell, did update directly to 4.4.1 skipping 4.4.0

Actions #3

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.

Actions #4

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!

Actions #5

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

Actions #6

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) ?

Actions #7

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)?

Actions #8

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.

Actions

Also available in: Atom PDF