Closed (fixed)
Project:
Feeds
Version:
7.x-2.x-dev
Component:
User interface
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
19 Jan 2012 at 12:59 UTC
Updated:
16 Jul 2014 at 15:10 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
logaritmisk commentedComment #2
vinmassaro commentedThis is a very helpful feature for an importer I am building with over 30+ mappings that will eventually need to be reordered. Your patch worked for me except when there were no mappings defined and I clicked 'Save' on the feed importer. It returned an error because $mappings was empty, so I added a condition to check if it's empty. I've rolled a new patch against 7.x-2.x that is git aware and combines these changes. Thanks!
Comment #3
anonAwesome, the patch in #2 works perfect, don't know what more to say. Grate job both of you!
Comment #4
twistor commentedVery nice!
An error is thrown when you remove a mapping because the arrays are different sizes. Also, this should have a test that goes through the basic functionality to avoid regressions.
I like it.
Comment #5
twistor commentedCommitted in http://drupalcode.org/project/feeds.git/commit/dde0b25.
Patch did not apply, so I re-rolled and fixed the issue I mentioned. Tests coming up next.
This could be backported.
Comment #6
twistor commentedComment #7
twistor commentedNot backporting things at things point. If someone wants to provide a patch, go for it.