Closed (fixed)
Project:
Panopoly
Version:
7.x-1.x-dev
Component:
Widgets
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
25 Aug 2018 at 04:42 UTC
Updated:
25 Dec 2018 at 21:44 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
dsnopekWhile working on a patch, I realized this also affects 'alt', the 'title' and 'alt' displayed on the widget edit form. Looking at how to affect the widget edit form, I did end up coming up with a way to fix this that's a little clever: during
hook_field_load()we can stash the original values for later!This fix replaces an earlier fix we had for
image_field_load()messing up the title. And, I made sure not to change the values expected by the theme function, so that it'll continue to work with themes that customized the spotlight display (like Radix, or custom themes).Comment #3
dsnopekIn some real world testing, there were some sites where saving the Panels display in the IPE on a Panelizer page would cause the field values on a spotlight widget to get overwritten by the file entity values. Strangely, this only appears to happen on some sites? I'm not sure how that could be, but this change fixes it on the problem sites.
Comment #4
cboyden commentedWe've been using the latest patch for a month and it's been working for us.
Comment #6
dsnopekCommitted!