Closed (fixed)
Project:
Drupal core
Version:
8.0.x-dev
Component:
views.module
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
18 Mar 2015 at 14:01 UTC
Updated:
18 May 2015 at 18:14 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
amateescu commentedDrupal\user\Tests\Views\HandlerFieldRoleTestwill be fixed by #2454625: SQLite: Fix SQLITE_SCHEMA errors in web tests, removing it from the list.Comment #2
amateescu commentedDrupal\user\Tests\UserAdminTestwas failing before but it passes with current HEAD, I guess a PostgreSQL issue fixed it.We're down to 1 failing test here so I'm re-purposing the issue just for that.
Comment #3
amateescu commentedDiscussed with @dawehner and apparently we're hitting the internal sort implementation of db engines for an equal number (the user created timestamp), so we can just update them to be different.
Test run before:
Test run after:
Comment #4
dawehnerThat totally makes sense! We worked together but the fix is just the way how to fix it.
Comment #5
xjmAdding other issues with the same API (not the same particular bug).
Comment #6
tstoecklerDoes it make sense to instead add a second filter on uid? I guess this is just a test view so it doesn't matter much but IIRC we've hit this before with real views e.g. when you create a bunch of nodes programmatically that then end up having the same timestamp that the sort order is then undefined.
Comment #7
webchickGood question.
Comment #8
amateescu commented@dawehner also suggested that while we were discussing this issue, and it makes sense to just not use the default sort added by the view but replace it with one on
uidinstead.Comment #11
dawehnerLet's get it RTBC again.
Comment #12
webchickCommitted and pushed to 8.0.x. Thanks!