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.

CommentFileSizeAuthor
#4 feeds_imagegrabber-form_state.patch1.12 KBlyricnz
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

publicmind’s picture

Hi,

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,

lyricnz’s picture

Version: 6.x-1.0-beta2 » 6.x-1.x-dev

I 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.

lyricnz’s picture

The 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

lyricnz’s picture

Status: Active » Needs review
FileSize
1.12 KB

Here's a patch

publicmind’s picture

Status: Needs review » Fixed

Thanks Lyricnz, committed in dev.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.