Closed (duplicate)
Project:
Feeds
Version:
7.x-2.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
20 Jun 2011 at 14:25 UTC
Updated:
29 Feb 2016 at 16:24 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
johnvAlso, the delimiter + no_header indicators are not representative for the Parser.
Attached patch fixes all three problems.
Comment #2
johnvA revised patch against latest -dev.
both page and template file now have thefollowing options
- no duplicate columns, even if they are defined in the mapper;
- same order, having unique columns upfront;
- correct delimiter;
- re-use fo configForm, resulting in lesser code.
Comment #3
twistor commentedArg. I've never used the template generation. This needs work, since the duplicate fields has been fixed already. The default configuration should be solved by having the sourceDefaults() use configDefaults().
Comment #4
megachrizThis issue could be closed in favor of #1988970: FeedsCSV parser - download template should use the default delimiter which has a more recent patch. Not sure though, since this issue seems to want to do more than just adjusting the delimiter in the csv template.
Comment #5
johnv@MegaChriz, it is good practice to close the newer issue. And, - like you noticed - the other issue only repairs the template file partly.
Comment #6
mstiThe 2nd issue about duplicate fields in the csv template has already been commited: #1996240: Duplicate fields in CSV template
Comment #7
megachrizClosed as a duplicate of #1988970: FeedsCSV parser - download template should use the default delimiter and #1996240: Duplicate fields in CSV template.
Comment #8
Toraih commentedExample for adding # as delimiter:
*edit* oops, wrong page...