Project

General

Profile

Actions

Bug #105103

closed

Indexed Search - Search for specific media type does not work

Added by Boris Dittebrandt 26 days ago. Updated 5 days ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
Indexed Search
Target version:
-
Start date:
2024-09-24
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
12
PHP Version:
8.1
Tags:
Complexity:
Is Regression:
Yes
Sprint Focus:

Description

If a media type with a specific file extension (e.g. *.pdf) is selected in the advanced search, the selection is not taken into account.

I think this could be because the $mediaType property of \TYPO3\CMS\IndexedSearch\Domain\Repository\IndexSearchRepository class has the data type integer and therefore its value is casted to integer, but it should actually be a string (e.g. 'pdf').


Related issues 2 (0 open2 closed)

Related to TYPO3 Core - Task #102898: IndexedSearch: Extract enum-esque structs into real enumsClosed2024-01-23

Actions
Related to TYPO3 Core - Task #97412: Add types to internal indexed_search codeClosedBenni Mack2022-04-18

Actions
Actions #1

Updated by Gerrit Code Review 25 days ago

  • Status changed from New to Under Review

Patch set 1 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/+/86302

Actions #2

Updated by Garvin Hicking 25 days ago

I can confirm this was broken with refactorings in #102898 and #97412

I've prepared a patch for this. Unsure yet how/if it can be backported to v12 though.

Actions #3

Updated by Garvin Hicking 25 days ago

  • Related to Task #102898: IndexedSearch: Extract enum-esque structs into real enums added
  • Related to Task #97412: Add types to internal indexed_search code added
Actions #4

Updated by Gerrit Code Review 25 days 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/+/86313

Actions #5

Updated by Gerrit Code Review 25 days ago

Patch set 2 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/+/86313

Actions #6

Updated by Garvin Hicking 25 days ago

  • Is Regression set to Yes
Actions #7

Updated by Gerrit Code Review 25 days ago

Patch set 2 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/+/86302

Actions #8

Updated by Gerrit Code Review 25 days ago

Patch set 3 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/+/86313

Actions #9

Updated by Gerrit Code Review 25 days ago

Patch set 3 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/+/86302

Actions #10

Updated by Gerrit Code Review 25 days ago

Patch set 4 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/+/86302

Actions #11

Updated by Gerrit Code Review 25 days ago

Patch set 4 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/+/86313

Actions #12

Updated by Gerrit Code Review 20 days ago

Patch set 5 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/+/86302

Actions #13

Updated by Gerrit Code Review 20 days ago

Patch set 5 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/+/86313

Actions #14

Updated by Gerrit Code Review 20 days ago

Patch set 6 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/+/86302

Actions #15

Updated by Gerrit Code Review 5 days ago

Patch set 7 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/+/86302

Actions #16

Updated by Garvin Hicking 5 days ago

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

Updated by Benni Mack 5 days ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF