[TYPO3-core] RFC: Fix "Clear all phash-rows" that cause oversizedURL length
Martin Kutschker
Martin.Kutschker at blackbox.net
Fri Jan 27 10:32:48 CET 2006
Michael Stucki <michael at typo3.org> writes on
Fri, 27 Jan 2006 10:25:03 +0100 (MET):
> This is a CVS patch request.
>
> Problem:
> The Info module displays information about all indexed records of a
> page.
> There is a button to remove all those phashes, but the generated URL
> just
> lists all phashes in a comma-separated list.
> On large sites, this URL may be too long and deleting of phashes is
> not possible (or has to be done manually, each one by one).
>
> Solution:
> Fix the problem by introducing a new value "ALL" instead of a phash
> list.
>
> Disclaimer:
> This is an ugly workaround because the same function is called twice,
> but I have no better solution at hand. If you want to fix it more
> elegant, this can still be done in a second step.
Possible other solution is to compact the list: sort the ideas and write continues ids as id1-id2. But still the URL could get too long.
+1 but add a comment that it is a workaround (and why!).
Masi
More information about the TYPO3-team-core
mailing list