Bug #31253

Page Tree filter broken with large result sets

Added by Steffen Gebert over 1 year ago. Updated over 1 year ago.

Status:Accepted Start date:2011-10-25
Priority:Won't have this time Due date:
Assignee:- % Done:

0%

Category:Pagetree
Target version:-
TYPO3 Version:4.6 Complexity:
PHP Version:
Votes: 0

Description

Since #28297 the result size of the Page Tree filter is limited to 500 pages. In fact, I was able to reproduce the problem with a result set of 735 pages.

However, since this fix, I get no result set at all, while searching for a frequent term. The search just immediately quits without showing any results.

Request:B_

{"action":"DataProvider","method":"getFilteredTree","data":["root",{"id":"root"},"fre","ae07b5df8588d3d7cf23493050429949a70a547d"],"type":"rpc","tid":29}

Response:

[{"tid":29,"action":"DataProvider","method":"getFilteredTree","type":"rpc","result":[{"serializeClassName":"t3lib_tree_pagetree_Node","id":"p0","type":"pages_root","editableText":"DEV F_ W_ Bayern","text":"[0] DEV F_ W_ Bayern","cls":"typo3-pagetree-node-notExpandable","prefix":"[0] ","suffix":"","qtip":"id=0","expanded":true,"expandable":false,"draggable":false,"isTarget":false,"spriteIconCode":"<span class=\"t3-icon t3-icon-apps t3-icon-apps-pagetree t3-icon-pagetree-root\">&nbsp;<\/span>","t3TextSourceField":"title","t3InCopyMode":false,"t3InCutMode":false,"t3ContextInfo":[],"editable":false,"allowChildren":true,"nodeData":{"serializeClassName":"t3lib_tree_pagetree_Node","id":0,"type":"pages_root","editableText":"DEV F_ W_ Bayern","text":"[0] DEV F_ W_ Bayern","cls":"typo3-pagetree-node-notExpandable","prefix":"[0] ","suffix":"","qtip":"id=0","expanded":true,"expandable":false,"draggable":false,"isTarget":false,"spriteIconCode":"<span class=\"t3-icon t3-icon-apps t3-icon-apps-pagetree t3-icon-pagetree-root\">&nbsp;<\/span>","t3TextSourceField":"title","t3InCopyMode":false,"t3InCutMode":false,"t3ContextInfo":[],"editable":false,"allowChildren":true,"readableRootline":"","mountPoint":0,"workspaceId":0,"isMountPoint":true},"children":[],"realId":0,"readableRootline":""}],"debug":""}]


Related issues

related to Core - Bug #28297: Pagetree Filter - Crash when having many pages Resolved 2011-07-18

History

Updated by Steffen Gebert over 1 year ago

I will be available tomorrow via Skype, can provide access to the site. However, I have no time to dig into the problem.

Updated by Steffen Ritter over 1 year ago

Steffen Gebert wrote:

However, since this fix, I get no result set at all, while searching for a frequent term. The search just immediately quits without showing any results.

that's the way we implemented it - return with empty result if there are more than 500 results - not show the first 500 results only...

This indeed is on purpose, because what would have from a search showing you only a subset, and not finding the page there, you would think it does not exist.

Updated by Steffen Ritter over 1 year ago

  • Status changed from New to Needs Feedback

Updated by Helmut Hummel over 1 year ago

But giving a feedback the too many results have been found is a must...

Updated by Steffen Gebert over 1 year ago

  • Status changed from Needs Feedback to New

Yes, I also did not unterstand it this way, while we are talking about. I thought you show a maximum of 500 results (which is sth. about 1000-1500 nodes, thus IMHO enough that nobody will look through all of them). IMHO it can't stay this way.

Updated by Steffen Ritter over 1 year ago

  • Status changed from New to Accepted
  • Priority changed from Must have to Won't have this time
  • Target version changed from 4.6.0 to 4.6.1

Steffen Gebert wrote:

Yes, I also did not unterstand it this way, while we are talking about. I thought you show a maximum of 500 results (which is sth. about 1000-1500 nodes, thus IMHO enough that nobody will look through all of them). IMHO it can't stay this way.

this has been discussed in Detail within the "self-help group" read there to catch up - this will NOT be part of 4.6.0 but postponed to 4.6.1

Updated by Xavier Perseguers over 1 year ago

  • Target version deleted (4.6.1)

Also available in: Atom PDF