Closed (fixed)
Project:
Drupal core
Version:
7.x-dev
Component:
database system
Priority:
Normal
Category:
Bug report
Assigned:
Issue tags:
Reporter:
Created:
20 Mar 2012 at 21:38 UTC
Updated:
4 Jan 2014 at 01:39 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
idaniellau commenteddatabase-test-having-1.patch queued for re-testing.
Comment #2
idaniellau commentedretested, it has passed :)
Comment #3
droplet commentedIm facing the same problem at other issue. we can't / do not test on pgsql and sqlite on d.org bots, right ?
Comment #4
hosef commentedWhat I believe is that someone needs to setup simple test on their local environment, and run it against Drupal core with this patch, while D8 is installed on pgsql and sqlite. I would be happy to do this if no one else wants to.
Comment #5
hosef commentedI ran the database tests before and after applying this patch on all three of the database servers mentioned. Before the patch was applied SQLite and PostgreSQL both passed the exception noted by idaniellau. After the patch was applied non of the three passed the exception. So, it appears that the patch fixed the problem.
Comment #6
catchdroplet is right, we have no pgsql or sqlite test bots, and since not many people run tests themselves with either database either, they're broken most of the time. Thanks hosef for doing the testing on this.
Committed/pushed to 8.x, moving back to 7.x for backport. Should be a straightforward backport so marking Novice for the re-roll.
Comment #7
rdickert commentedTaking this for backporting to D7.
Comment #8
rdickert commentedBackport to D7.
Comment #9
hosef commentedStarting up my VMs. :P
EDIT:
I think I broke VirtualBox when I ran apt-get upgrade this morning, so I will be back later when I fix it.
Comment #10
hosef commentedOk, I got everything working again and ran all of the tests again. D7 results are the same as the results in D8 so I believe this is done and ready to be committed.
I did have some other tests fail in my D7 Postgresql test run, but they appeared to be unrelated to this issue and they did not occur in my D8 tests. Therefore, my assumption is that they have already been fixed by some other patch.
Comment #11
webchickGreat, thanks for the fix + testing on this folks!
committed and pushed to 7.x.