This commit will add the condition for checking if a thumbnail file exists on the record. If the thumbnail_file returns nil then it should also execute #generate_thumbnail.
This change is needed particularly for WVU's current situation. They have records with the preview field already set however the thumbnail isn't set.
This commit will add the condition for checking if a thumbnail file exists on the record. If the
thumbnail_file
returnsnil
then it should also execute#generate_thumbnail
.This change is needed particularly for WVU's current situation. They have records with the
preview
field already set however the thumbnail isn't set.Ref: