Closed (fixed)
Project:
Drupal core
Version:
8.0.x-dev
Component:
postgresql db driver
Priority:
Major
Category:
Bug report
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
1 Mar 2015 at 09:57 UTC
Updated:
20 Mar 2015 at 16:24 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
bzrudi71 commentedJust uploading available patch from #2356987: PostgreSQL: Fix tests in node test group. All credits to @jaredsmith please. (Please see #4 in the parent issue)
Comment #2
bzrudi71 commentedThis is the right way of doing it in PostgreSQL. For reference, here is the exception message:
Drupal\Core\Database\DatabaseExceptionWrapper: SQLSTATE[42703]: Undefined column: 7 ERROR: column "count" does not exist LINE 1: ..._data WHERE type <> 'article' GROUP BY nid HAVING count >= 2 ^: SELECT nid, count(nid) AS count FROM {node_field_data} WHERE type <> :type GROUP BY nid HAVING count >= 2; Array ( [:type] => article ) in Drupal\node\Tests\NodeTranslationUITest->testDisabledBundle() (line 212 of /opt/local/apache2/htdocs/drupal8/core/modules/node/src/Tests/NodeTranslationUITest.php).Comment #3
webchickSeems sane, but please don't RTBC your own patch. Could you get mradcliffe/jaredsmith to review?
Comment #5
catchCross-committed with Angie. I think Angie's review counts as a seconder on the patch...
Committed/pushed to 8.0.x, thanks!
Comment #6
bzrudi71 commentedActually it's not my patch, please see my comment in #1, so all credits to @jaredsmith please :-) Thanks for commit!