Closed (fixed)
Project:
Drupal core
Version:
8.0.x-dev
Component:
postgresql db driver
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
3 Dec 2014 at 15:45 UTC
Updated:
9 Mar 2015 at 15:04 UTC
Jump to comment: Most recent
Comments
Comment #1
bzrudi71 commentedThere is a FATAL that I have overseen ;-)
Comment #2
jaredsmith commentedThis fatal is being caused because the call to
FieldConfigStorage::loadByPropertieson line 38 incore/modules/config/src/Tests/AssertConfigEntityImportTrait.phpis returningFALSE, indicating that it can't find a entity with that UUID.I haven't yet figured out why that's failing.
Comment #3
bzrudi71 commentedNice! Seems we have 100% pass with #1013034: PostgreSQL constraints do not get renamed by db_rename_table() applied and the FATAL is gone. @jaredsmith: Can you please cross test this before marking as (patch avail, 100% pass, needs review)? Thanks!
Comment #4
jaredsmith commentedI have re-tested the entity_reference test group with the patch from #1013034-65: PostgreSQL constraints do not get renamed by db_rename_table(), using the folowing parameters:
DCI_PHPVERSION=5.5
DCI_DRUPALBRANCH=8.0.x
DCI_TESTGROUPS=entity_reference
DCI_UPDATEREPO=TRUE
DCI_DBTYPE=pgsql
DCI_DBVER=9.1
DCI_PATCH=https://www.drupal.org/files/issues/pgsql-constraint-rename-1013034-65.p...,.
With that patch, the tests pass:
Test run started:
Tuesday, February 17, 2015 - 11:47
Test summary
------------
Drupal\entity_reference\Tests\EntityReferenceFieldTranslated 13 passes
Drupal\entity_reference\Tests\EntityReferenceAutoCreateTest 25 passes
Drupal\entity_reference\Tests\EntityReferenceFieldDefaultVal 24 passes
Drupal\entity_reference\Tests\Views\EntityReferenceRelations 38 passes
Drupal\entity_reference\Tests\Views\SelectionTest 6 passes
Drupal\field\Tests\EntityReference\EntityReferenceFormatterT 44 passes
Drupal\entity_reference\Tests\EntityReferenceAdminTest 121 passes
Drupal\system\Tests\Entity\EntityReferenceSelection\EntityRe 8 passes
Drupal\field\Tests\EntityReference\EntityReferenceItemTest 44 passes
Drupal\entity_reference\Tests\EntityReferenceIntegrationTest 161 passes
Drupal\system\Tests\Entity\EntityReferenceSelection\EntityRe 69 passes
Test run duration: 1 min 57 sec
Comment #5
bzrudi71 commentedCool :-) Thanks a lot!
Comment #6
jaredsmith commentedRe-ran the pgsql tests with the updated patch from comment 67 at #1013034-67: PostgreSQL constraints do not get renamed by db_rename_table(), and all of the tests pass as expected.
Updating the parent issue and related issues as well.
Comment #7
jaredsmith commentedFixing the issue summary and related issues
Comment #8
jaredsmith commentedNow that the patch from #1013034: PostgreSQL constraints do not get renamed by db_rename_table() has been committed, I've re-tested this test group without any patches applied, and it passes all the tests. Marking as fixed.
Test run started:
Monday, February 23, 2015 - 14:51
Test summary
------------
Drupal\entity_reference\Tests\EntityReferenceAutoCreateTest 25 passes
Drupal\entity_reference\Tests\EntityReferenceFieldDefaultVal 24 passes
Drupal\entity_reference\Tests\EntityReferenceFieldTranslated 13 passes
Drupal\entity_reference\Tests\Views\EntityReferenceRelations 38 passes
Drupal\entity_reference\Tests\Views\SelectionTest 6 passes
Drupal\field\Tests\EntityReference\EntityReferenceFormatterT 44 passes
Drupal\entity_reference\Tests\EntityReferenceAdminTest 121 passes
Drupal\field\Tests\EntityReference\EntityReferenceItemTest 44 passes
Drupal\system\Tests\Entity\EntityReferenceSelection\EntityRe 8 passes
Drupal\entity_reference\Tests\EntityReferenceIntegrationTest 161 passes
Drupal\system\Tests\Entity\EntityReferenceSelection\EntityRe 69 passes
Test run duration: 2 min 17 sec