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.
When creating/editing a Feed node, change the values in the "Feeds Image Grabber" fieldset, and click "Preview" (rather than save). These changes should be preserved on the next page, but are not.
Comment | File | Size | Author |
---|---|---|---|
#4 | feeds_imagegrabber-form_state.patch | 1.12 KB | lyricnz |
Comments
Comment #1
publicmind CreditAttribution: publicmind commentedHi,
Can you provide more details, as I am unable to reproduce this? Before reporting make sure you have the latest revisions of all the dependent modules.
Cheers,
Comment #2
lyricnz CreditAttribution: lyricnz commentedI started with a blank D6.17 site, enabled the Image modules, Feeds and Feeds Imagegrabber. Created a feed importer, and then an actual feed. Items were created. Then clicked "edit" on the Feed node, changed a few settings in the Imagegrabber section, then hit preview. My changes were not preserved. Version was latest -dev.
Comment #3
lyricnz CreditAttribution: lyricnz commentedThe problem is that in hook_form_alter(), the module gets the values from feeds_imagegrabber_get_settings(), which overwrites what's set in $form_state
Comment #4
lyricnz CreditAttribution: lyricnz commentedHere's a patch
Comment #5
publicmind CreditAttribution: publicmind commentedThanks Lyricnz, committed in dev.