Collapsed fieldgroups break imagefield_crop display

Request Type: 
Bug Fix
Author: 
Samuel Cohen
Issue/Request: 

Hi Drupal team,

Is there any chance that we can roll out this patch:
https://www.drupal.org/node/719714#comment-8669587

I’m experiencing the exact issue noted at the top of the thread:

Collapsed fieldgroups break crop area display.

It seems collapsed fieldgroups prevent imagefield_crop to work properly.

Here are some simple steps to reproduce the issue :

  1. Create an imagefield_crop field inside CCK fieldgroup with the option ‘collapsed by default’.
  2. Create a node, unfold the fieldgroup, upload an image and crop successfully, save the node.
  3. Edit the node you just created, unfold the fieldgroup. The crop area is not properly initialized, you can’t actually see it.
  4. If you save your node again, the final crop might change as the cropping behavior is active but invisible.

This is in no way critical. The obvious workaround is to simply not put imagefield_crop field in fieldgroups. BUT, it sure would be nice!

Many thanks,
Sam

Hi Sam, 
Can you let us know what site you need this for? We normally don’t suggest using the Image Crop Module because it breaks the responsiveness of the YaleSites themes so knowing what site would be helpful. I’m sure we can add the update. 

We will create a ticket to get the patch added for this module. 

Hello Sam,

This patch has been applied to the codebase. Can you request a site refresh?

Josue