Closed (fixed)
Project:
Drupal core
Version:
8.0.x-dev
Component:
field system
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
6 Jun 2013 at 13:26 UTC
Updated:
29 Jul 2014 at 22:29 UTC
Jump to comment: Most recent file
Comments
Comment #1
swentel commentedLet's give this a first spin, this converts all the instances and I could install, so that's not that bad :)
Comment #3
swentel commentedTssss
Comment #5
swentel commentedShould fix installation (views related)
Comment #7
swentel commented#5: 2013679-5.patch queued for re-testing.
Comment #9
swentel commentedStupid image instance
Comment #11
swentel commentedThis is with field arrayAccess gone as well, I could install and create fields (at least the body when creating a content type), let's see what the bot thinks.
Comment #13
swentel commentedUrg
Comment #15
swentel commentedComment #17
swentel commentedComment #19
swentel commentedShould have less exceptions and failures.
Comment #21
swentel commentedKeeping up with head
Comment #23
swentel commentedComment #25
swentel commentedComment #27
swentel commentedMore fixes, this is going to be a tedious one to get green :)
Comment #29
aspilicious commentedComment #31
aspilicious commentedHmm contained some merge conflicts
Comment #33
aspilicious commentedSomething went wrong with merging. Please fix the issues in the sandbox if you want to. I need my sleep ;)
Comment #34
aspilicious commentedLets see
Comment #36
aspilicious commentedNot the expected results...
Comment #38
aspilicious commentedAnd another one
Comment #40
aspilicious commentedComment #42
aspilicious commentedComment #44
aspilicious commentedComment #45
aspilicious commentedComment #46
aspilicious commenteddamnit, goto patch creeped in
Comment #47
aspilicious commentedComment #49
aspilicious commentedLets try something
Comment #51
aspilicious commentedComment #53
aspilicious commentedComment #55
aspilicious commentedComment #57
aspilicious commentedComment #58
aspilicious commentedComment #59
aspilicious commentedComment #60
aspilicious commentedComment #61
aspilicious commentedComment #62
aspilicious commentedThis one should help alot as it fixes the field UI :p
Comment #64
aspilicious commented#62: 2013679-62.patch queued for re-testing.
Comment #65
aspilicious commentedMore fixes!
Comment #67
aspilicious commentedComment #68
aspilicious commentedComment #69
aspilicious commentedDeletion of fields was broken in the ui. Fixed.
Comment #70
aspilicious commentedEntity reference related fixes
Comment #71
aspilicious commentedComment #73
aspilicious commentedComment #75
aspilicious commentedComment #77
aspilicious commentedComment #78
aspilicious commentedComment #80
aspilicious commented#78: 2013679-78.patch queued for re-testing.
Comment #81
aspilicious commentedComment #82
aspilicious commentedComment #83
aspilicious commentedComment #85
aspilicious commentedComment #87
swentel commentedShould fix mosts tests except for first two.
Comment #89
swentel commentedKickstarting again, merge was ridiculous, so we'll have todo work again I'm afraid - although the field interface might slim it down though.
Let's see what this gives ...
Comment #91
swentel commentedGo installation
Comment #93
swentel commentedGo login
Comment #95
swentel commentedMore obvious fixes.
Comment #97
swentel commentedMore fixes, but still trying to kill the exceptions.
Comment #98
swentel commentedActually, bad merge due to git, damn!
Comment #100
swentel commentedComment #102
berdir#100: 2013679-100.patch queued for re-testing.
Comment #104
swentel commentedComment #106
swentel commentedBah, uploaded wrong patch
Comment #108
swentel commentedComment #110
swentel commentedComment #112
aspilicious commentedCould be green :)
Comment #113
aspilicious commentedbtw unrelated changes sneaked in...
core/modules/field_ui/field_ui.admin.inc and some other file
Comment #114
swentel commentedhmm that file doesn't even exist anymore in head, so we should ditch that one
Comment #115
berdirI think field_name should always be changed to getFieldName(), id() will change in the entity storage issue.
Comment #116
swentel commentedJust another run to keep up with head, one test will definitely fail as I merged wrong. Want to see if others are affected too.
Comment #118
swentel commentedComment #120
swentel commentedMerged with core + last test fix, will start addressing #115 from now on too.
Comment #122
swentel commentedboo swentel, boo!
Comment #123
swentel commentedChasing HEAD (will contain test failures though due to bad merge)
Comment #125
aspilicious commentedFatal error: Cannot use object of type Drupal\field\Entity\Field as array in /var/lib/drupaltestbot/sites/default/files/checkout/core/lib/Drupal/Core/Entity/Query/Sql/Tables.php on line 118
Fatal error: Cannot use object of type Drupal\field\Entity\Field as array in /var/lib/drupaltestbot/sites/default/files/checkout/core/modules/entity_reference/lib/Drupal/entity_reference/Plugin/field/field_type/ConfigurableEntityReferenceItem.php on line 71
Fatal error: Cannot use object of type Drupal\field\Entity\FieldInstance as array in /var/lib/drupaltestbot/sites/default/files/checkout/core/modules/node/lib/Drupal/node/Tests/NodeTokenReplaceTest.php on line 57
Fix these and create a new patch. Will fix most of the issues I think.
Comment #126
swentel commentedComment #128
swentel commentedComment #130
aspilicious commentedThis is a terrible job :(
Comment #132
aspilicious commentedARGH!
Comment #134
swentel commentedLogin at least works again, expect much failures, will work on this all day.
Comment #136
swentel commentedComment #138
swentel commentedComment #140
swentel commentedComment #142
swentel commentedSimple fix for a lot of fixes, digging further in others
Comment #144
swentel commentedComment #145
aspilicious commentedContains more fixes
Comment #147
aspilicious commented< 200 fails hopefully
Comment #148
aspilicious commentedgo!
Comment #150
aspilicious commented< 100 ? Go!
Comment #151
aspilicious commentedWhile grepping for some stuff I came around field_test.storage.inc I think it needs some work...
Comment #152
aspilicious commentedLast one for today
Comment #153
berdir@aspilicious: field_test.storage.inc is dead code, can be removed completely. The API that it provides a test implementation for no longer exists. Not here, of course :)
Comment #155
swentel commentedMore fixes.
Comment #157
swentel commentedthis might be green
Comment #159
swentel commentedRemoved some obsolete files that were still in our sandbox
Comment #161
swentel commentedI'm kind of lost with the failure in FieldAttachOtherTest. I've been looking at the entity storage patch as well and it makes some weird changes. @yched in case you could have closer look, because I can't see what the hell can go wrong.
Comment #162
swentel commentedFix file field validation, damn, PHP is so dumb.
Hopefully, the forum merge didn't break anything.
FieldAttachOtherTest is the last remaining.
Comment #164
aspilicious commentedI hope this one will apply, used methods in stead of direct property access
Comment #166
aspilicious commentedSecond try
Comment #168
aspilicious commentedmèèh
Comment #169
aspilicious commentedAnother try, tested this one. Site loads again...
Comment #171
aspilicious commentedSIGH!
We can't do
empty($instance->getFieldSetting('translation_sync'))So this needs more work :(
tomorow...
Comment #172
yched commentedRegarding the field cache fails:
@plach's #1983554-28: Remove BC-mode from EntityNG might be related ?
Comment #173
aspilicious commentedOk not sure if this is going to work...
Comment #175
aspilicious commented.
Comment #177
aspilicious commentedComment #178
aspilicious commentedComment #180
aspilicious commentedTested this one a bit better
Comment #182
aspilicious commentedComment #184
aspilicious commentedLess fails.
I broke image handling somewhere but I can't find it.
FieldInfoTest fail is stupid field'settings'] returns something different than getFieldSettings()
Comment #186
andypostShould be green now! all pushed
Test
FieldAttachOtherTestprobably needs follow-up for core, because actually broken now (string offset used as cardinality so no items are generatedImageFormatterBase fix seems breaks a scope a bit but it's needed to fix test
Comment #187
andypostmerged head
Comment #189
andypostalso reverted a part and files patch to main issue #1953408-30: Remove ArrayAccess BC layer from field config entities
Comment #190
andypostmerge
Comment #191
andypostComment #193
andypostFix install via DatabaseStorageController.php and
clean-up TranslatableForm.php - use direct property for equality (related fix #1946462: Convert content_translation_translatable_form() to the new form interface
Comment #194
swentel commentedWe're close on the other one, so closing this one.