[BUGFIX] Ensure proper quoting of fields for PostgreSQL in JsonRenderer.ts 69/51569/3
authorMorton Jonuschat <m.jonuschat@mojocode.de>
Wed, 8 Feb 2017 03:49:20 +0000 (19:49 -0800)
committerChristian Kuhn <lolli@schwarzbu.ch>
Thu, 16 Feb 2017 12:47:52 +0000 (13:47 +0100)
commit8a72b99a704627f949e7e98debee34684de17d16
tree7bde24a5e007d741fd2856219665ae67fe961241
parentc879b4a0111a3a556c01ac25de1d179f6e717fec
[BUGFIX] Ensure proper quoting of fields for PostgreSQL in JsonRenderer.ts

PostgreSQL requires mixed case column names in the database to be quoted at
all times, otherwise the name of the column will be forcefully converted to
all lowercase.

Set a constant in the testrenderer that contains the current database type
and switch the WHERE condition in JsonRenderer.ts to a properly quoted
version for PostgreSQL

Change-Id: I0b7caf4b51006bdf3bc131d995b0993504f49889
Releases: master
Resolves: #79651
Reviewed-on: https://review.typo3.org/51569
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Tymoteusz Motylewski <t.motylewski@gmail.com>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
components/testing_framework/Classes/Core/Functional/FunctionalTestCase.php
typo3/sysext/core/Tests/Functional/Fixtures/Frontend/JsonRenderer.ts