Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Whenever I choose the Edit operation for an image at the management page, it takes me to the edit page and I can see all of my original entries (title, image, caption & link). If I try to save changes to title, caption or link I get the error message "The file used in the Image field may not be referenced." and the changes aren't saved. I have to delete the image, make the changes, re-choose the image and then save to get the changes to take effect.
Comment | File | Size | Author |
---|---|---|---|
#3 | andromeda_slideshow-file-usage-add-1339206.diff | 927 bytes | Khalor |
Comments
Comment #1
sashkernel CreditAttribution: sashkernel commented+1
I've got same issue. It takes all settings when you create an image for slideshow, but no editing is possible after the fact.
Comment #2
Khalor CreditAttribution: Khalor commentedThis will be because the module doesn't implement
file_usage_add
I think this can be fixed with a small patch to
andromeda_slideshow.forms.inc
, and issues with existing images/slides should be fixable using the method described here. Patch coming later today.Comment #3
Khalor CreditAttribution: Khalor commentedAlso added
file_usage_delete
to ensure entities are removed from the file_usage table.You will need to delete/reupload your slideshow images for this patch to work, or follow the instructions here to update your file_usage table
Comment #4
sashkernel CreditAttribution: sashkernel commentedAny way of porting this patch into the dev release of the slideshow?
I'm currently having just few images and update them rarely, so manual update is working out for me.
Thanks for the patch, though. I'll test it out as soon as I get more time on my hands.
Regards,
Sash.