Bug #98570
closedPageTreeFilter does not work similar to MySQL/MariaDB with PostgreSQL
100%
Description
MySQL/MariaDB relates 'LIKE' comparision to be case-sensitive or
case-insensitive based on collation (connection/field). This defaults
to case-insensitive for nearly all dbms server installations and
how TYPO3 is shipped.
PostgresSQL however does a case-sensitive comparision if the 'LIKE'
keyword is used. To mirror the mostly-to-expect default from the
MySQL/MariaDB world and search case-insensitive, the 'ILIKE' keyword
must be used.
To level-off how like() and notLike() ExpressionBuilder methods builds
and behavious cross-dbms, 'ILIKE' should be used for PostgresSQL.
SQLite does a case-insenstive LIKE comparision by default. However, this
only works for ascii char based search strings, non-ascii chars are searched
case-sensitive. This is how SQLite operates in most compilations. SQLite may
be compiled with ICU extensions and should then respect non-ascii searches
in the same way. Same limitation applies for UPPER and LOWER, so they
cannot be used as a workaround. Thus SQLite cannot and should not be adopted.
We should consider to state some limitation with SQLite as DBMS backend more
activly in the documentation and install/requirement places.
Updated by Gerrit Code Review about 2 years ago
- Status changed from New to Under Review
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/+/76075
Updated by Gerrit Code Review about 2 years 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/+/76075
Updated by Gerrit Code Review about 2 years 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/+/76075
Updated by Gerrit Code Review about 2 years 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/+/76075
Updated by Gerrit Code Review about 2 years 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/+/76075
Updated by Stefan Bürk about 2 years ago
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
Applied in changeset 1081b7e9eaf0dab551fb7617514873bb86d1472b.
Updated by Gerrit Code Review about 2 years 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/+/76085
Updated by Gerrit Code Review about 2 years ago
Patch set 2 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/+/76085
Updated by Stefan Bürk about 2 years ago
- Status changed from Under Review to Resolved
Applied in changeset c4dd98c8d705655db06752d1a539a76d457784d2.
Updated by Benni Mack almost 2 years ago
- Status changed from Resolved to Closed