Closed (fixed)
Project:
Drupal core
Version:
7.x-dev
Component:
field system
Priority:
Major
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
25 Jan 2012 at 14:21 UTC
Updated:
4 Jan 2014 at 01:39 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
damien tournoud commentedTest only patch.
Comment #2
damien tournoud commentedTest+fix.
Comment #3
damien tournoud commentedDrupal 7 version of the same.
Comment #4
damien tournoud commentedComment #6
damien tournoud commentedFix for the missing key in
field_update_field().Comment #8
andros commented#6: 1416506-field-foreign-keys.patch queued for re-testing.
Comment #10
David_Rothstein commented#1969048: hook_field_schema() cannot vary based on field settings is a related issue (and possible duplicate).
Comment #11
dave reidBumping to major. This affects several contribs and blocks a regression from moving entityreference into core: #1847582: Create a foreign key to the target entity type base type in Entity-reference.
Comment #12
swentel commentedWill need rerolling now CMI conversion is in. Tagging as well.
Comment #13
swentel commentedWill reroll later this evening
Comment #14
swentel commentedOk, this is trickier after the config conversion, will look later unless someone beats me to it.
Comment #15
swentel commented- edit -
Sorry for no interdiff, had todo drupal_get_schema('table', TRUE) as we're in a unit test.
Comment #17
swentel commentedFixing tests. I guess Damien or Yched can sign this off now - if ok of course :)
Comment #19
swentel commentedDuh.
Comment #20
yched commentedLooks good.
Just minor adjustments:
- Fixed stale code comments
- Removed t()s around test messages
Comment #22
yched commentedTrailing whitespace.
+ needless double quotes.
Comment #23
webchickCommitted and pushed to 8.x. Thanks!
Comment #24
dave reidComment #25
yched commentedBackport.
Comment #27
yched commentedHm, is that better ?
Comment #29
yched commentedRight, pre-Field/CMI this requires a fix in field_update_field(), and @Damz's original patches accounted for that.
Scratch #27, interdiff is against #25.
Comment #30
malberts commentedThis is not a proper review, but I patched 7.22 with the 4 non-test-related lines in that patch (#29). It appears to have fixed the problem in #1340748: Add CTools relationship.
I'm not sure if it's worse to hack 7.22 in my case or if I should rather run 7.x-dev + patch as I need this pretty much right now.
Comment #31
andypostawesome!
Comment #32
mixxmac commentedThis worked for me in combination with #44 from #1340748: Add CTools relationship. After applying these patches, I was able to add a Taxonomy from Node relationship in Panels. That wasn't showing as an option before for that field, because it was using an entity reference instead of a term reference.
This helps a lot. Thanks for working on it!
Comment #33
David_Rothstein commentedCommitted to 7.x - thanks! http://drupalcode.org/project/drupal.git/commit/9988e47
Comment #34.0
(not verified) commentedUpdated issue summary.