Bug #31760

Live search does not find all tables

Added by Francois Suter over 3 years ago. Updated over 3 years ago.

Status:Resolved Start date:2011-11-11
Priority:Must have Due date:
Assigned To:Francois Suter % Done:

100%

Category:Backend User Interface Spent time: -
Target version:4.5.8
TYPO3 Version:4.5 Is Regression:
PHP Version:5.3 Sprint Focus:
Complexity:no-brainer

Description

The live search in the TYPO3 backend does not find content in all the expected tables, because it forgets to load the full TCA. Thus looping on column names does nothing.

NOTE: I'll open a separate issue for 4.6+, because the problem is compound there by having forgotten to apply the new search properties of the TCA (see #26829) to the live search.


Related issues

related to Core - Bug #31761: Live search does not implement search properties Resolved 2011-11-11

Associated revisions

Revision 91264e80
Added by Francois Suter over 3 years ago

[BUGFIX] Live search does not find all tables

To find anything in a given table, the live search loops on all that
table's columns. However it forgets to load the full TCA beforehand
and thus fails to find anything in tables for which it is not
fully loaded yet.

Change-Id: Ief94a26d5ba9ead77930835e61ebae3b01980368
Fixes: #31760
Releases: 4.5
Reviewed-on: http://review.typo3.org/6631
Reviewed-by: Georg Ringer
Tested-by: Georg Ringer
Reviewed-by: Francois Suter
Tested-by: Francois Suter

History

#1 Updated by Mr. Hudson over 3 years ago

  • Status changed from Accepted to Under Review

Patch set 1 of change Ief94a26d5ba9ead77930835e61ebae3b01980368 has been pushed to the review server.
It is available at http://review.typo3.org/6631

#2 Updated by Francois Suter over 3 years ago

Steps to reproduce:
  1. create a record for any table that's not fully loaded by default (let's assume you take the "examples" extension and create a haiku record
  2. enter text "xyz" in whatever passes for a title for that record type
  3. save and close
  4. type "xyz" in the live search and observe that your record does not show up
  5. click "Show All" and observe that your shows up in normal BE search
  6. apply the patch
  7. search again for "xyz" in live search => your record should be visible now (provided it's among the first 5 results)

#3 Updated by Francois Suter over 3 years ago

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

Also available in: Atom PDF