Location en/admin/content/types/import
Referrer en/admin/content/types/import
Message Illegal choice in Weight element.
'feedapi' =>
array (
'enabled' => 0,
'feedapi' =>
array (
'itemfilter' =>
array (
'feedapi_keyword_filter' =>
array (
'keywords' => '',
'enabled' => '',
'weight' => '',
),
),
),
'enabled' => '',
'weight' => '',
enabled and weight shouldn't be set as empty string.
Because then it's imposible to import and export it via content_copy module (cck).
| Comment | File | Size | Author |
|---|---|---|---|
| #7 | feedapi_371820_1.patch | 695 bytes | dwightaspinwall |
| #4 | feedapi_371820.patch | 789 bytes | drewish |
| #2 | feedapi_371820.patch | 26.71 KB | drewish |
Comments
Comment #1
drewish commentedYeah running into this as well.
Comment #2
drewish commentedActually, in the current version enabled and weight are set correctly, the problem seems to be the feedapi_node's input_format. It's using the FILTER_FORMAT_DEFAULT constant that's 0 which isn't a value in the select list. Running the constant through filter_resolve_format() seems to handle getting the default.
Comment #3
drewish commentedComment #4
drewish commentedLast patch had a bunch of unrelated crap in it.
Comment #5
justin2pin commented#4 works great for me.
Comment #6
alex_b commentedRTBC here, too.
Comment #7
dwightaspinwall commentedThanks! This patch is the same as #4 but can be executed from the feedapi_node module directory.
Comment #8
kenorb commentedDrupal 6 is no longer officially supported. If you think this issue is still relevant for 8.x, feel free to re-open.