In version alpha6, mapping of boolean fields is broken. My existing mappings showed "missing" for every boolean field I wanted to import. Boolean fields aren't showing up in the list of possible targets.

Comments

I just noticed this too. I'm on alpha7.

Is a fix for this issue planned in an upcoming release?

Version:7.x-2.0-alpha6» 7.x-2.0-alpha7

Will this feature be implemented in an upcoming release?

Version:7.x-2.0-alpha7» 7.x-2.x-dev

if this is still a problem with the latest alpha8 release, it belongs in the -dev queue.

Title:No more mapping for boolean fieldsNo more mapping for number fields
Component:Feeds Import» Code

I've the same problem.

I've hacked the module with some watchdogs in the mappers and the function 'number_feeds_processor_targets_alter' is never called (while the text version is called when I go to the feed edit page).

So it doen't allow us to map all the "number" fields. I'm changing the issue name.

Hope it helps and we can have a solution soon.

There doesn't seem to be an update on this issue since June.

Is there any progress? Also not seeing boolean fields as targets for mapping.

I'm not sure of the downside of this work-around, but I created text field versions of my boolean fields and specified values like "yes" and "no" and this seemed to work for importing from my D6 based csv file.

Title:No more mapping for number fieldsNo more mapping for boolean fields

This issue is about boolean fields, so the title shouldn't be changed. luisortizramos, if you're having an issue with number fields, please open a separate issue. Or if it's somehow the same cause affecting both types of fields, rename the issue to reflect that and edit the issue summary.

Title:No more mapping for boolean fieldsNo more mapping for numeric (boolean, decimal, integer, floats, and lists of them) fields

heatherwoz: boolean fields are a type of numeric fields in Drupal. No one of the different types of number fields are mappeable now, so the issue is really about all of them. If we solve the bug, it will be solved in the numeric field mapper (that includes the booleans, don't worry) so it's more informative for the person who takes time to solve the issue to title it like I did.

Thanks, your new title is much more descriptive than just "number."

Status:Active» Postponed (maintainer needs more info)

Umm...

Can one of you guys give me a detailed setup? I cannot reproduce this, and we have numerous tests for the numeric mapper.

I tried on a clean install and I do see those field types available as targets. But they don't show up on several sites that I've had running for a while, since the upgrade from alpha6. Seems like several others were in the same boat. I will keep testing and see if I can come up with any pattern/cause.

Assigned:Unassigned» twistor
Status:Postponed (maintainer needs more info)» Active

Ahh, I got it.

The quick workaround is to enable the number module.

The list_boolean field is covered by the number module in Feeds, but the number module is not required but the list module. We need to do a bit of dependency re-arranging.

Can confirm that a JSON field with a 'true' or 'false' value is not being scooped up, but when changed it to 0 or 1 the boolean fields reflected correctly in Drupal.

Issue summary:View changes

I've been trying to map to a float list and have been unsuccessful, even with the number module enabled (which it seems to be by default).