Closed (works as designed)
Project:
Commerce Feeds
Version:
7.x-1.2
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
27 Feb 2012 at 14:32 UTC
Updated:
25 May 2012 at 20:25 UTC
If importer loads row with empty fields, processor should check if entity field is required. If entity's field is required and field form parser is empty, processor should not create entity.
Comments
Comment #1
pcambraCould you please elaborate a little where the problem happens? I don't really get how to reproduce this. An example will be great!
Comment #2
honza pobořil commentedImporter loads csv file with products and creates commerce products entities. At a few rows price or SKU is missing. This rows should be skipped. I suggest to check field settings (fields on target entity - commerce_product) if required is turned on (SKU is required always) and eventually cancel creating of new product. Of course this feature should be optionaly for any mapping.
Comment #3
pcambraNot sure if there's a lot of things to do here, I'd say this is feeds behavior, the most you can do is to mark a field as unique, but it will be created empty anyways.
I'd say you need to open an issue in feeds module itself for this.