Closed (fixed)
Project:
Focal Point
Version:
8.x-1.x-dev
Component:
Other Code
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
2 Jul 2015 at 10:00 UTC
Updated:
17 Jul 2015 at 18:14 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
harings_rob commentedComment #2
bleen commentedTo make it easier to figure out what has changed, here is the interdiff between the patch in the original post and the patch in #2488292: Dependency injection ... we should have some of that
Comment #3
bleen commentedI started looking at this ... first step was to confirm premise of the issue:
This is not the case as far as I can tell. I have a vanilla D8 install (fairly up-to-date) and everything works fine with the latest dev release of focal_point. Were you only seeing this issue of fields not saving correctly after you applied the patch in #2488292: Dependency injection ... we should have some of that? If so, can you continue this discussion there.
If not, I have a thought about something I just noticed ... Is your field named something other than "image"? If so, this might be the issue:
The presave function has "field_image" hard-coded. YIKES!
Comment #4
harings_rob commentedOops!
Must be the heat, I forgot to check the focal_point.module file.
So yes, the problem lies within the hard-coded field.
I'll change my patch tomorrow.
Comment #5
harings_rob commentedAttached you can find the new patch.
Fixing the dynamic fields.
Patch from #2488292 not included.
Comment #7
bleen commentedI made some small tweaks, but ultimately this is great. Thanks!!
Comment #8
bleen commented... If you have a few mins to take a look at #2488292: Dependency injection ... we should have some of that that would be awesome.