Quantcast
Channel: Issues for Drupal core
Viewing all articles
Browse latest Browse all 298843

PostgreSQL: Fix taxonomy\Tests\TermTest

$
0
0

Problem/Motivation

TermTest fails currently with PostgreSQL as database backend. This is because we don't support case insensitive queries by default in PostgreSQL, so we use LOWER() to make things work. There is ongoing work within #2464481: PostgreSQL: deal with case insensitivity to have complete case insensitive support at some point. For now, this patch is abstracted from the ongoing work in #2464481: PostgreSQL: deal with case insensitivity to make TermTest pass as a first step.

Proposed resolution

Fix the tests.

Remaining tasks

Write patch with test coverage.
Write a change record.

User interface changes

None.

API changes

Adds a new class that database drivers can implement in order to change the behavior of EntityQuery queries.

For the committer

Please give mradcliffe patch credits for this issue. The code from patch from comment 9 is his.

Beta phase evaluation

Reference: https://www.drupal.org/core/beta-changes
Issue categoryBug because this fixes the case sensitivity handling in Entity Query class for pgsql database driver.
Issue priorityMajor because case sensitivity happens across multiple entity systems even if the test failure is for taxonomy terms only.
Unfrozen changesPostgreSQL until 7/1/2015

Viewing all articles
Browse latest Browse all 298843

Latest Images

Trending Articles



Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>