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:
30 Apr 2015 at 11:29 UTC
Updated:
29 May 2015 at 22:14 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
bzrudi71 commentedNot sure if this is the way to go but at least a start, comments welcome :)
Comment #2
dawehnerCan we short by NID and be done? Its more simple anyway to sort by that.
Comment #3
dawehnerCan we short by NID and be done? Its more simple anyway to sort by that.
Comment #4
bzrudi71 commentedUnfortunately I guess not. If I don't get it totally wrong we are working with just a single NID ;)
Comment #5
mradcliffeThis patch adds delta for that field in the sort for test_group_rows.
Let's see if mysql has anything to say about it.
@jaredsmith will run on new testbot postgresqlComment #6
mradcliffePasses SQLite on my local environment.
Comment #7
dawehnerRemoving created seems to be something we should really better do here.
Comment #8
mradcliffeI wasn't able to generate an interdiff for this patch with interdiff. Because the sort changed, we need to run tests again.
Comment #9
mradcliffeI was running views test group thru drupalci, but drupalci just stopped halfway. The two tests passed though.
Drupal\views\Tests\Handler\FieldGroupRowsTest 6 passes
Drupal\views\Tests\Handler\FieldGroupRowsWebTest 10 passes
Comment #10
mradcliffeRan full Views group test and did not have any regressions. The ViewsDisplayTest in the first result is a random test fail as demonstrated by the subsequent run of that test class.
Comment #11
mradcliffe@jaredsmith is running without the patch as well.
Comment #12
erik.erskine commentedTried #8 a few times on a local environment - FieldGroupRowsTest & FieldGroupRowsWebTest all pass.
Have also tried a full run all the views tests - no new failures introduced on PostgreSQL and all the tests passed on MySQL and SQLite.
Comment #13
jaredsmith commentedI've reviewed this code, and run this patch through the new DrupalCI test infrastructure. It fixes the failing test, and does not cause any additional test failures in the Views testgroup.
Before the patch:
Drupal\views\Tests\Handler\FieldGroupRowsTest 4 passes 2 fails
After the patch:
Drupal\views\Tests\Handler\FieldGroupRowsTest 6 passes
I believe this patch is ready to be committed, so I'm setting it to RTBC.
Comment #15
webchickAwesome work, all! I was a bit confused on why we were using delta here instead of nid, but #4 points out that this is because the test is only working on one nid.
Committed and pushed to 8.0.x. Thanks!
Comment #16
webchick