Project

General

Profile

Actions

Bug #101249

closed

Prevent exception caused by hash collisions in indexed_search

Added by Stefan Bürk 10 months ago. Updated 10 months ago.

Status:
Resolved
Priority:
Should have
Assignee:
-
Category:
Indexed Search
Target version:
-
Start date:
2023-07-05
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
11
PHP Version:
Tags:
Complexity:
Is Regression:
Sprint Focus:

Description

`ext:indexed_search` tends to except out for colliding
hashes due to the fact that they are cutted and the
potential to collite raised.

Having a exception in the frontend during indexing if
colliding hashes are indexed is not a valid way to deal
with this.

To fix this issue the md5int() hash cutting should be
removed and a suitable indexing value used. That would
mean a database change, which is not suitable as a direct
bugfix.

Therefore, as a first intermediate but not final solution
the exception should be prevented also knowing that not
all information are indexed then.


Related issues 3 (0 open3 closed)

Related to TYPO3 Core - Bug #84541: Uncaught TYPO3 Exception in indexed_search: duplicate key (hash) errorResolved2018-03-27

Actions
Related to TYPO3 Core - Bug #87138: indexed_search: Duplicate entry for key 'Primary' in index_relResolved2018-12-12

Actions
Related to TYPO3 Core - Bug #90977: possible race condition in indexedsearchResolved2020-04-07

Actions
Actions #1

Updated by Stefan Bürk 10 months ago

  • Category set to Indexed Search
Actions #2

Updated by Stefan Bürk 10 months ago

  • Related to Bug #84541: Uncaught TYPO3 Exception in indexed_search: duplicate key (hash) error added
  • Related to Bug #87138: indexed_search: Duplicate entry for key 'Primary' in index_rel added
  • Related to Bug #90977: possible race condition in indexedsearch added
Actions #3

Updated by Gerrit Code Review 10 months ago

  • Status changed from New to Under Review

Patch set 9 for branch main of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/74742

Actions #4

Updated by Gerrit Code Review 10 months ago

Patch set 10 for branch main of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/74742

Actions #5

Updated by Gerrit Code Review 10 months ago

Patch set 1 for branch 12.4 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/79741

Actions #6

Updated by Florian Schöppe 10 months ago

  • Status changed from Under Review to Resolved
  • % Done changed from 0 to 100
Actions #7

Updated by Gerrit Code Review 10 months ago

  • Status changed from Resolved to Under Review

Patch set 1 for branch 11.5 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/79754

Actions #8

Updated by Florian Schöppe 10 months ago

  • Status changed from Under Review to Resolved
Actions

Also available in: Atom PDF