Closed (fixed)
Project:
Feeds
Version:
7.x-2.x-dev
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Reporter:
Created:
25 Jun 2010 at 22:38 UTC
Updated:
16 Feb 2018 at 10:58 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
alex_b commentedI get 4 fails for "RSS import to data records":
All on 'mapping exists after addition'.
Using HEAD of http://drupal.org/project/issues/feeds_test.
Comment #2
andrewlevine commentedDid you mean to mark this fixed?
It looks like this is because FeedsDataProcessor overrides addMapping and modifies the target field. I'm going to add an optional $test_mappings paramater to addMappings() and removeMappings() so FeedsRSStoDataTest can avoid testing mappings (because it does it itself in the test anyway).
Sound good?
Comment #3
alex_b commentedSounds good.
Comment #4
andrewlevine commentedAttached is the patch with the mentioned changes. All tests pass except for in Filefield (but this is something unrelated to this patch on my machine)
Comment #5
twistor commentedThis is a nice bit of kit. Will add to 7.x first, then backport.
Comment #6
twistor commentedHere's an initial port.
Comment #7
twistor commentedI like returning -1 better actually.
Comment #8
twistor commentedCommitted a modified version to 7.x
http://drupalcode.org/project/feeds.git/commit/e8db012
Comment #9
megachrizThis was fixed a long time ago and no longer needs to be ported to 6.x.
Comment #10
megachriz